Registry / http-client / posthog-posthog-go

posthog-posthog-go

JSON →
library1.12.5gogounverified

Official Go client for PostHog, a product analytics platform.

go get github.com/posthog/posthog-go
INSTALL
IMPORT
SIG · POSTHOG-POSTHOG-GO
P
posthog-posthog-go
http-clientgov1.12.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

posthog
github.com/posthog/posthog-go

Send a capture event to PostHog

package main import ( "github.com/posthog/posthog-go" ) func main() { client, _ := posthog.New("YOUR_API_KEY") defer client.Close() client.Enqueue(posthog.Capture{ DistinctId: "user123", Event: "test_event", }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.12.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
Amazon
1
OpenAI (training)
1
Resources
posthog-posthog-go — go get posthog-posthog-go · libregistry