{"id":9747214,"name":"github.com/nexcode/mgo","ecosystem":"go","description":"Package mgo (pronounced as \"mango\") offers a rich MongoDB driver for Go.\n\nDetailed documentation of the API is available at GoDoc:\n\nUsage of the driver revolves around the concept of sessions.  To\nget started, obtain a session using the Dial function:\n\nThis will establish one or more connections with the cluster of\nservers defined by the url parameter.  From then on, the cluster\nmay be queried with multiple consistency rules (see SetMode) and\ndocuments retrieved with statements such as:\n\nNew sessions are typically created by calling session.Copy on the\ninitial session obtained at dial time. These new sessions will share\nthe same cluster information and connection pool, and may be easily\nhanded into other methods and functions for organizing logic.\nEvery session created must have its Close method called at the end\nof its life time, so its resources may be put back in the pool or\ncollected, depending on the case.\n\nThere is a sub-package that provides support for BSON, which can be\nused by itself as well:\n\nFor more details, see the documentation for the types and methods.","homepage":"https://github.com/nexcode/mgo","licenses":"BSD-2-Clause","normalized_licenses":["BSD-2-Clause"],"repository_url":"https://github.com/nexcode/mgo","keywords_array":[],"namespace":"github.com/nexcode","versions_count":0,"first_release_published_at":null,"latest_release_published_at":"2025-12-17T01:35:47.456Z","latest_release_number":null,"last_synced_at":"2026-03-14T23:31:56.821Z","created_at":"2024-04-18T10:17:44.676Z","updated_at":"2026-03-14T23:31:56.821Z","registry_url":"https://pkg.go.dev/github.com/nexcode/mgo","install_command":"go get github.com/nexcode/mgo","documentation_url":"https://pkg.go.dev/github.com/nexcode/mgo#section-documentation","metadata":{},"repo_metadata":{"uuid":"787501831","full_name":"nexcode/mgo","owner":"nexcode","description":"Old MongoDB driver for Go","archived":false,"fork":true,"pushed_at":"2024-04-16T20:07:52.000Z","size":6938,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-04-16T21:58:32.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"globalsign/mgo","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nexcode.png","metadata":{},"created_at":"2024-04-16T16:37:36.000Z","updated_at":"2024-04-16T16:40:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nexcode/mgo","commit_stats":null,"previous_names":["nexcode/mgo"],"tags_count":null,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcode%2Fmgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcode%2Fmgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcode%2Fmgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexcode%2Fmgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexcode","download_url":"https://codeload.github.com/nexcode/mgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":197230242,"owners_count":13312538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"repo_metadata_updated_at":"2024-04-18T10:18:56.854Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":7.918616596278964,"dependent_packages_count":7.022019952952883,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":7.470318274615924},"purl":"pkg:golang/github.com/nexcode/mgo","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/nexcode/mgo","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/nexcode/mgo","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/nexcode/mgo/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnexcode%2Fmgo/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnexcode%2Fmgo/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnexcode%2Fmgo/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnexcode%2Fmgo/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fnexcode%2Fmgo/codemeta","maintainers":[]}