MCPcopy Create free account
hub / github.com/PostHog/duckgres / noopTracker

Struct noopTracker

internal/analytics/analytics.go:46–46  ·  view source on GitHub ↗

noopTracker discards all events. It is the default until a real tracker is installed, and the tracker used whenever POSTHOG_API_KEY is unset.

Source from the content-addressed store, hash-verified

44// noopTracker discards all events. It is the default until a real tracker is
45// installed, and the tracker used whenever POSTHOG_API_KEY is unset.
46type noopTracker struct{}
47
48func (noopTracker) Capture(string, string, map[string]any) {}
49func (noopTracker) Close() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected