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-templateFirst copy the dev/.env.example to the dev/.env
Sync dependencies:
$ go mod -syncThen 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.