MCPcopy
hub / github.com/go-mgo/mgo

github.com/go-mgo/mgo @r2016.08.01 sqlite

repository ↗ · DeepWiki ↗ · release r2016.08.01 ↗
1,624 symbols 7,546 edges 72 files 474 documented · 29%
README

The MongoDB driver for Go

Please go to http://labix.org/mgo for all project details.

Extension points exported contracts — how you extend this code

Unmarshaler (Interface)
Unmarshaler is the interface implemented by types that can unmarshal a JSON description of themselves. The input can be [2 …
internal/json/decode.go
Getter (Interface)
-------------------------------------------------------------------------- The public API. A value implementing the bson [1 …
bson/bson.go
Token (Interface)
A Token holds a value of one of these types: Delim, for the four JSON delimiters [ ] { } bool, for JSON booleans flo
internal/json/stream.go
Setter (Interface)
A value implementing the bson.Setter interface will receive the BSON value via the SetBSON method during unmarshaling, a [1 …
bson/bson.go
Marshaler (Interface)
Marshaler is the interface implemented by types that can marshal themselves into valid JSON.
internal/json/encode.go

Core symbols most depended-on inside this repo

Close
called by 371
internal/sasl/sasl_windows.go
DB
called by 293
session.go
C
called by 273
session.go
Insert
called by 248
bulk.go
Find
called by 192
gridfs.go
One
called by 124
session.go
New
called by 104
session.go
Run
called by 101
bulk.go

Shape

Method 856
Function 368
Struct 311
TypeAlias 75
Interface 12
FuncType 2

Languages

Go100%
TypeScript1%

Modules by API surface

session.go195 symbols
bson/bson_test.go130 symbols
session_test.go127 symbols
internal/json/encode.go80 symbols
internal/json/decode_test.go80 symbols
internal/json/encode_test.go57 symbols
internal/json/scanner.go51 symbols
cluster_test.go50 symbols
bson/bson.go50 symbols
internal/json/decode.go45 symbols
auth_test.go45 symbols
txn/txn.go40 symbols

Datastores touched

(mongodb)Database · 1 repos
mydbDatabase · 1 repos
adminDatabase · 1 repos

For agents

$ claude mcp add mgo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact