Skip to content

fix(go): name the Identify type so it isn't hand-rolled as a Capture - #352

Closed
gewenyu99 wants to merge 1 commit into
posthog-code/integration-go-frameworkfrom
go-identify-api
Closed

gewenyu99 wants to merge 1 commit into
posthog-code/integration-go-frameworkfrom
go-identify-api

Conversation

@gewenyu99

Copy link
Copy Markdown
Collaborator

Stacked on #267. The Go commandments named $set but no identify API, so a real run built identify out of posthog.Capture with a literal $identify event name.

The commandments named $set but no API, so the agent built identify out of
posthog.Capture with a literal $identify event name.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@gewenyu99

Copy link
Copy Markdown
Collaborator Author

Wrong fix. The Go docs never teach a server-side posthog.Identify call — backend events carry identity via DistinctId on the capture, which the existing commandment already says. Closing rather than reworking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant