Common Go packages shared across Neo4j projects.
external/– packages intended for import by other repos.external/logger,external/config,external/httpclient,external/analytics,external/version,external/utils,external/database
internal/– implementation details not part of the public contract. Only code inside this module may import them.
external/logger- Structured slog wrapper with LevelVar and sensitive key redactionexternal/config- Layered configuration loading from env vars, config files, and CLI flagsexternal/httpclient- HTTP client with timeout and max response size limitsexternal/analytics- Mixpanel tracker with privacy-safe identifiersexternal/version- User-Agent version resolution via debug.ReadBuildInfoexternal/utils- Small utility helpersexternal/database- Database facade with Bolt and Query API backends
internal/database/queryapi- Internal Query API backend used byexternal/database. Public Query API SDK lives in the separatequery-go-sdkrepo.
import "github.com/LackOfMorals/neo4j-common/external/logger"This repo is a work-in-progress extraction from internal packages in neo4j-mcp-canary, aura-go-sdk, query-go-sdk, etc.