Commit Graph
4 Commits
Author SHA1 Message Date
zeekay b4e1366340 rebrand: export Insights types instead of PostHog
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)
2026-03-13 19:54:58 -07:00
Eli ReismanandGitHub 6ad2c0f0a4 feat: small correctness improvements to meet SDK contract (#152)
* correctly apply default UUID to outbound events if missing, at Enqueue time

* implement optional GZIP compression for event payloads
2026-01-21 10:29:08 -08:00
7b79baa601 feat: add DisableGeoIP option (#104)
Co-authored-by: jackhopner <[email protected]>
2025-05-23 11:06:01 +02:00
Marius Andra 0231121f25 initial import 2020-02-27 02:06:02 +01:00