Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Go

This branch is 79 commits ahead, 3 commits behind hokapoka:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
README.markdown
bson.go
bson_decode.go
bson_encode.go
bson_test.go
buffer.go
collection.go
collection_test.go
connection.go
connection_test.go
database.go
database_test.go
example_test.go
log.go
main_test.go
mongo.go
pool.go
pool_test.go
query.go
query_test.go

README.markdown

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.

Something went wrong with that request. Please try again.