The MongoDB Go Driver is the official MongoDB driver for Go applications, providing connectivity to MongoDB databases. It implements the MongoDB wire protocol, handles BSON encoding/decoding, manages connection pooling and server discovery, and supports all MongoDB features including transactions, change streams, GridFS, and encryption. The driver follows a layered architecture with high-level (mongo package), middle-layer (driver implementation), and low-level (BSON handling) components. It uses idiomatic Go patterns including context-based cancellation, functional options for configuration, and dependency injection for pluggable components like authenticators and loggers.
This repository is the official Go SDK for the Model Context Protocol (MCP), a client/server protocol for AI tool orchestration. It provides production-grade implementations of MCP servers and clients, supporting multiple transports (stdio, SSE, streamable HTTP, in-memory) and full OAuth 2.0 authorization code flows with enterprise extensions. The SDK features typed tool handlers with automatic JSON Schema inference, a middleware system for custom processing, generic pagination helpers, and a schema cache for performance in stateless deployments. It maintains backward compatibility with multiple MCP protocol versions (2024-11-05 through 2026-07-28) using compatibility flags and includes conformance tests against the official MCP test suite. The architecture separates JSON-RPC 2.0 wire protocol, transport abstractions, and core client/server logic, with internal packages for low-level RPC handling, OAuth test infrastructure, and configuration compatibility. While the SDK is actively maintained and well-tested, it carries some technical debt from deprecated features (roots, sampling, logging) and protocol version complexity.
goex is a Go library that provides unified interfaces for cryptocurrency exchanges (OKX, Binance, Bitget). It abstracts exchange-specific API differences behind common interfaces for both public market data and private trading operations. The architecture features modular exchange-specific packages, shared utilities for HTTP clients, logging, and model definitions, and uses dependency injection for configuration. Key strengths include clean separation of concerns, proper implementation of cryptographic signing, and use of the functional options pattern for configuration.
This repository is a production-oriented Go client library for the Binance cryptocurrency exchange, covering spot, margin, USDS-M futures, coin-margined delivery futures, options, portfolio margin, and related products. The code in v2/ exposes fluent builder-style services for REST endpoints and WebSocket streams, with clients such as NewClient, NewFuturesClient, NewDeliveryClient, NewOptionsClient, and portfolio-specific clients. The library is consumed by trading bots and exchange-integration applications; it is not a data analysis or research project, though it provides market-data access primitives for klines, tickers, order books, funding rates, and historical trades.