package
0.0.0-20210426105106-098cde10e9b5
Repository: https://github.com/nguyenhoaiphuong/go-web-dev.git
Documentation: pkg.go.dev

# README

gin - gonic GET POST PUT DELETE

GET

localhost:9000/persons

POST

path:
localhost:9000/person

body:
{
	"id": 1,
	"name": "Akagi",
	"age": 34
}

PUT

path:
localhost:9000/person/2

body:
{
	"id": 1,
	"name": "Mogami",
	"age": 25
}

DELETE

localhost:9000/person/1

# Structs

Person struct.

# Type aliases

Persons : map of person and its ID.