/gingonic-go-mongodb

An example of Golang microservice with Gin and MongoDB

Primary LanguageGo

Configuration

Variable Description
MONGODB_HOST mongodb://user:pass@host:port/?maxPoolSize=20&w=majority"
MONGODB_DB_NAME Database name
MONGODB_MONITOR if "true" log queries

API