MongoConfig holds MongoDB connection configuration
| 19 | |
| 20 | // MongoConfig holds MongoDB connection configuration |
| 21 | type MongoConfig struct { |
| 22 | URI string |
| 23 | Database string |
| 24 | } |
| 25 | |
| 26 | // NewMongoConfig creates a new MongoDB configuration from environment variables |
| 27 | func NewMongoDefaultConfig() *MongoConfig { |
nothing calls this directly
no outgoing calls
no test coverage detected