Skip to content

prestonchoate/product-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

product-api

Simple Product API to learn Go

Specifications

This API should be served on port 9090

Products model is defined in data/product.go. The model should look like:

{
  ID:  1,
  Name:  "Widget A",
  Description: "This is test widget A. It is a tester widget.",
  Price:  12.34,
  SKU:  "widgeta",
}

Currently only the GET and POST actions are available to the /products endpoint.

About

Simple Product API to learn Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages