Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed syntax error in the code under What's new in v3 heading #7546

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

neelkanth-kaushik
Copy link
Contributor

Under the heading https://segment.com/docs/connections/sources/catalog/libraries/server/go/#whats-new-in-v3

The below code is having a syntax error:

client.Enqueue(analytics.Track{
  UserId: "f4ca124298",
  Event:  "Signed Up",
  Properties: analytics.NewProperties().
    SetCategory("Enterprise"),
    SetCoupon("synapse"),
    SetDiscount(10),
})

Changed it to:

client.Enqueue(analytics.Track{
  UserId: "f4ca124298",
  Event:  "Signed Up",
  Properties: analytics.NewProperties().
    SetCategory("Enterprise").
    SetCoupon("synapse").
    SetDiscount(10),
})

@neelkanth-kaushik neelkanth-kaushik requested a review from a team as a code owner April 3, 2025 12:11
@neelkanth-kaushik neelkanth-kaushik requested a review from pwseg April 3, 2025 12:11
@pwseg pwseg added the fixed-content fix to content that has outdated or wrong information label Apr 3, 2025
@pwseg pwseg merged commit fa047bb into develop Apr 3, 2025
4 checks passed
@pwseg pwseg deleted the neelkanth-kaushik/LIBRARIES-2486 branch April 3, 2025 17:12
Copy link
Contributor

github-actions bot commented Apr 3, 2025

Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
fixed-content fix to content that has outdated or wrong information
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants