Sample microservice skeleton including the gin-gonic HTTP web framework with a Prometheus monitoring integration, the Postgres open-source database using the gorm ORM library and the resty HTTP/REST client library. The configuration management was inspired by Spring Boot's externalized configurations leveraging viper for the actual integration.
For extended flexibility, simplified maintenance and better testability the microservice's structure is based on the clean architecture concept by Unclebob.
The center of your application is not the database. Nor is it one or more of the frameworks you may be using. The center of your application is the use cases of your application - Unclebob (source)