Gin is a web framework written in Go (Golang). This template provides a ready to use template for building web applications. It includes a router group(/v1) set up with basic auth, 67% unit test coverage right out of the box, a basic build using github actions, and a makefile to simplify building this app.
.
├── README.md
├── api
│ └── v1.go
├── bin
│ └── boofer
├── go.mod
├── main.go
├── makefile
└── service
├── allservices.go
└── allservices_test.go
GET /healthz
GET /about
GET /v1
Prerequisite: You should have Go set up on your system.
- Run test cases with coverage
make test
- View Coverage
make view
- Building the binairy
make package
- Run the project
make run
- Clean up
make clean