Skip to content

teopeurt/go-mongo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Mongo

Go-Mongo is a MongoDB driver for the Go programming language.

Go-Mongo is designed to be used with mongos in production environments. If you do not plan to use mongos, then mgo is probably the better driver to use.

Features:

  • Marshalling and unmarshalling of documents to Go types using a built-in BSON encoder.
  • Streaming result reader. The driver reduces latency and memory use by returning documents to the application before the complete result batch is received.
  • Helpers for common database commands.
  • Connection pooling.
  • Simple and clean design.

Installation

Use the go tool to install Go-Mongo:

go get  github.com/garyburd/go-mongo/mongo

Documentation

License

Go-Mongo is available under the Apache License, Version 2.0.

Discussion

Discussion related to the use and development of Go-Mongo is held at the Go-Mongo User Group.

You can also contact the author through Github.