mirror of
https://github.com/hanzoai/insights-go.git
synced 2026-09-30 22:46:12 +00:00
Rename Go package from posthog to insights across all 80+ files. Consumers now import as `insights "github.com/hanzoai/insights-go"` and use insights.Client, insights.Config, insights.Capture, etc. - Rename posthog.go -> insights.go, posthog_test.go -> insights_test.go - Update package declaration from posthog to insights in all .go files - Update SDKName from posthog-go to insights-go - Update DefaultEndpoint from app.posthog.com to insights.hanzo.ai - Update all FieldError/ConfigError type strings - Update User-Agent headers, log prefixes, comments, and docs - Update JSON test fixtures to match new SDK name - Update CLI, examples, extras, and sdk_compliance_adapter - Fix pre-existing go vet warnings (non-constant format strings)
22 lines
530 B
JSON
22 lines
530 B
JSON
{
|
|
"api_key": "Csyjlnlun3OzyNJAafdlv",
|
|
"batch": [
|
|
{
|
|
"distinct_id": "$organization_id:5",
|
|
"event": "$groupidentify",
|
|
"library": "insights-go",
|
|
"library_version": "1.0.0",
|
|
"properties": {
|
|
"$geoip_disable": true,
|
|
"$group_key": "id:5",
|
|
"$group_set": {},
|
|
"$group_type": "organization",
|
|
"$lib": "insights-go",
|
|
"$lib_version": "1.0.0"
|
|
},
|
|
"timestamp": "2009-11-10T23:00:00Z",
|
|
"uuid": "00000000-0000-0000-0000-000000000003"
|
|
}
|
|
]
|
|
}
|