go REST API
An example repo for RESTful API with swagger docs & unit testing
Starting development server
- Copy
.env.example
to.env
in the same directory - Update environment variables with credentials for mysql
go run main.go
API documents
Run the app, and browse to http://localhost:[SERVER_PORT]/swagger/index.html. Find the Swagger 2.0 Api documents