mirror of
https://github.com/hanzoai/insights-go.git
synced 2026-09-30 22:46:12 +00:00
The SDK-compliance workflow hands sdk_compliance_adapter/Dockerfile to the PostHog test harness on every PR and push to main, and that Dockerfile still pulled golang:1.21-alpine against a go.mod requiring 1.26.4. GOTOOLCHAIN=local in the official golang images makes that a hard failure rather than a toolchain download. Pin to 1.26.5 and set GOTOOLCHAIN=auto so a future go.mod bump resolves itself instead of breaking the compliance run. Co-authored-by: Hanzo Dev <[email protected]>
PostHog Go SDK Compliance Adapter
This adapter wraps the posthog-go SDK for compliance testing with the PostHog SDK Test Harness.
Contributing
See CONTRIBUTING.md for local build and compliance test instructions.
Implementation
See main.go for the adapter implementation.
The adapter implements the standard SDK adapter interface defined in the test harness CONTRACT.
Documentation
For complete documentation, see: