This is an example repository of how you can build a golang rest api project with wire for dependency injection and mvc pattern.
It has simples dependencies
git clone https://github.com/iunary/simply
go get ./...
make run
Or using air for live reload
air
-
Check users list example http://localhost:8888/users
-
Check health check endpoint http://localhost:8888/health
-
Check prometheuse metrics endpoint http://localhost:8888/metrics