Commit Graph
6 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
zeekay 9b6c1ee8fc chore: update Go toolchain to 1.26 2026-03-02 14:06:46 -08:00
zeekay 07fce33878 feat: add Insights type aliases for posthog Go SDK
- Insights = Client alias for new code
- InsightsConfig = Config alias for new code
- NewInsights / NewInsightsWithConfig constructor wrappers
2026-03-02 14:06:30 -08:00
zeekay 3cc0016e0b Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	README.md
#	go.mod
2026-02-22 00:56:30 -08:00
zeekay 2049e4fd9f Rebrand README from PostHog to Hanzo Insights Go SDK and fix LICENSE copyright to Hanzo AI Inc 2026-02-14 05:13:43 -08:00
zeekay 4f53c16813 Rebrand posthog-go as hanzoai/insights-go
- Update module path from github.com/posthog/posthog-go to github.com/hanzoai/insights-go
- Update all imports in source files, tests, and examples
- Update README documentation
2026-01-19 18:08:43 -08:00