productrestapi

module
v0.0.0-...-5bf27ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2022 License: CC0-1.0

README

productrestaapi

GoLang product rest api with db(mysql)

Postman:

Post method example (in raw):

{ "name": "Product1", "price": "350" }

Get method example:

to output all products:

http://localhost:8080/api/v1/product

to output one product

http://localhost:8080/api/v1/product/1

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL