Application apptimedev/go-rest-api-template
helps you to create a Rest API project.
$ git clone https://github.com/apptimedev/go-rest-api-template
$ cd go-rest-api-template
First copy the dev/.env.example
to the dev/.env
Sync dependencies:
$ go mod -sync
Then run the application:
$ go run main.go
- gorilla/mux: A powerful HTTP router and URL matcher.
- joho/godotenv: Loads environment variables from
.env
.
BSD licensed. See the LICENSE file for details.