golang-movie-service
This is an excellent example of a golang project that has adopted this structure.
Get Dependencies
go mod download
Build
go build main.go
Test
go test ./...
Environments
Generate .env file and edit configuration settings.
cp .env.example .env
Run app
go run main.go
Browse to http://localhost:8080/swagger/index.html. You will see Swagger 2.0 Api documents.
CREDITS
Original work authored by Franklin Carrero as MIT licensed and
Eder Férnandez Baldovino
LICENSE
MIT
Copyright (c) 2021 kiwsan