posthog-go
posthog-go copied to clipboard
Official PostHog Go library
Add geo disable parameter, because our users get IP from server and we want to control this behaviour. This config we made default is true, because same behaviour in nodejs...
Add support for feature flag payloads to the SDK, with unit test.
SDK with feature flag poller enabled has data races: ``` go test -race -v . ``` There seem two be a couple of offenders: 1. `poller.fetchedFlagsSuccessfullyOnce` ([this](https://github.com/posthog/posthog-go/blob/fbd687c18571c61fa6b78e63b52bff8d9ce80063/featureflags.go#L641) and [this](https://github.com/posthog/posthog-go/blob/fbd687c18571c61fa6b78e63b52bff8d9ce80063/featureflags.go#L179)) 2....
1. I create a new feature flag with decimal rollout percentage 2. Feature flag evaluation stops working in Go SDK
Hi! It is impossible to close `posthog.Client` when feature flags are enabled and no requests to get all flags were made. What happens: 1. `FeatureFlagsPoller.run` starts 2. Execution is blocked...
👋 Hello! I am trying out PostHog, and I wanted to use PostHog feature flags via OpenFeature, so I wrote a PostHog provider for OpenFeature. (You can find it https://github.com/craigpastro/posthog-openfeature-provider-go...
Hi Team, hopefully this is right place to ask, if not, I'd appreciate if you can direct me. I'm the founder of [cloudquery.io](https://www.cloudquery.io/), a high performance open source ELT framework....
Had issues posting to a self-hosted instance of posthog. Realized that this was because the library expects me to provide just the address (as in `https://host.name.com`) whereas I was providing...