{"id":67362,"library":"posthog-posthog-go","title":"PostHog Go","description":"Official Go client for PostHog, a product analytics platform.","status":"active","version":"1.12.5","language":"go","source_language":null,"source_url":"https://github.com/posthog/posthog-go","tags":["analytics","posthog","client","product"],"install":[{"cmd":"go get github.com/posthog/posthog-go","lang":"bash","label":"Install github.com/posthog/posthog-go"}],"dependencies":[],"imports":[{"symbol":"posthog","correct":"github.com/posthog/posthog-go"}],"quickstart":{"code":"package main\n\nimport (\n    \"github.com/posthog/posthog-go\"\n)\n\nfunc main() {\n    client, _ := posthog.New(\"YOUR_API_KEY\")\n    defer client.Close()\n    client.Enqueue(posthog.Capture{\n        DistinctId: \"user123\",\n        Event:      \"test_event\",\n    })\n}","lang":"go","description":"Send a capture event to PostHog"},"warnings":[],"env_vars":null,"search_vec":"'analyt':10,12 'client':5,14 'go':2,4 'offici':3 'platform':11 'posthog':1,7,13 'product':9,15","created_at":"2026-06-17T17:36:14.857759+00:00","updated_at":"2026-06-17T17:36:14.857759+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/posthog/posthog-go","github":"https://github.com/posthog/posthog-go","docs":"https://pkg.go.dev/github.com/posthog/posthog-go#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client","observability"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}