Install brew from brew.sh
$ brew install git
Install golang binaries using brew
$ brew install go
$ go env
$ go version (1.12.6)
$ go get
$ go run server.go
$ go build server.go
$ ./server
API url : mac.odds.team/api
e.GET("/", api.GetWelcome)
m := e.Group("/mac")
m.GET("", api.GetMac)
m.GET("/:id", api.GetMacByID)
m.POST("", api.CreateMac)
m.PUT("/:id", api.UpdateMac)
m.DELETE("/:id", api.RemoveMac)