https://www.growthbook.io/ logo
Join Slack
Powered by
# sdk-golang
  • b

    brief-honey-45610

    09/21/2023, 4:03 AM
    set the channel topic: Ask questions here related to the Go SDK.
  • b

    brief-honey-45610

    09/21/2023, 4:03 AM
    set the channel description: Ask questions here related to the Go SDK.
  • i

    icy-horse-12774

    10/25/2023, 4:40 AM
    I just have pulled the
    growthbook-golang
    repo to see learn more about how to use this SDK (I couldn’t find much documentation)). I found that it has a
    strength
    package named
    demo
    that contains invalid syntax. Can anyone tell me the purpose of this package? Was it pushed by mistake? I’ve created an issue and a PR on the repo: • https://github.com/growthbook/growthbook-golang/issues/19 • https://github.com/growthbook/growthbook-golang/pulls
  • i

    icy-horse-12774

    10/25/2023, 5:24 AM
    By the way, does this SDK support setting a refresh interval?
  • a

    alert-dream-63361

    10/25/2023, 12:09 PM
    Hi @icy-horse-12774 — that
    demo
    directory probably shouldn't have been in there. It was a caching example referenced in the documentation for a pending update to the SDK. The documentation is normally at https://docs.growthbook.io/lib/go but it's not working today (should be back soon, I hope) and there's the usual Go package documentation at https://pkg.go.dev/github.com/growthbook/growthbook-golang
  • a

    alert-dream-63361

    10/25/2023, 12:11 PM
    There's no capability to set a refresh interval, but you can use streaming updates from GrowthBook, which means you get feature updates as soon as they're published. To do that, use the
    LoadFeatures
    method, setting
    AutoRefresh
    to
    true
    in the
    FeatureRepoOptions
    you pass in. Feature updates are then streamed from GrowthBook via SSE.
  • b

    brief-honey-45610

    01/22/2024, 9:06 PM
    Hi folks 👋🏻 Do we have anyone in the channel who is capable of addressing some issues in the GOlang SDK that were submitted by some fellow GrowthBook users? https://github.com/growthbook/growthbook-golang/issues
    t
    • 2
    • 1
  • c

    colossal-guitar-33295

    01/22/2024, 10:39 PM
    In addition to the issues, can we expect to see any progress on the API improvement PR? It looks like a good chunk of effort has been put into this PR, but it hasn’t gone anywhere: https://github.com/growthbook/growthbook-golang/pull/13
    r
    • 2
    • 1
  • p

    purple-glass-17412

    08/14/2024, 9:08 PM
    Hi! 🙂 I just reported an issue https://github.com/growthbook/growthbook-golang/issues/30 I’m a bit concerned because recently this sdk is not very active on GitHub. I’m willing to open a PR fixing this bug but I’m not sure what’s causing it.
    r
    • 2
    • 1
  • b

    breezy-barista-41912

    01/23/2025, 8:31 PM
    Hi folks - v0.2.0 was just released with some major updates and changes - would love for you to take it for a spin. If you do and find issues, please file here: https://github.com/growthbook/growthbook-golang/issues https://pkg.go.dev/github.com/growthbook/growthbook-golang@v0.2.0
    🙌 2
  • f

    flaky-noon-11399

    03/20/2025, 6:49 PM
    Hi Team, are there any plans for the Go SDK to support prerequisites with a Schrödinger state? If so, is there a timeline for this I can share with a customer? 🙏
    👍 1
  • g

    gorgeous-farmer-3665

    03/26/2025, 2:46 PM
    Hello, we have noticed a pretty serious issue in Go SDK. It is related to variation key extraction for experiments. We have opened a PR which describes and fixes the issue: https://github.com/growthbook/growthbook-golang/pull/43
    s
    • 2
    • 1
  • g

    green-fall-98011

    05/02/2025, 9:54 AM
    There are a few issues with openFeature provider implementation too. I’ve created PR that has fix • https://github.com/growthbook/growthbook-openfeature-provider-go/pull/1 • https://github.com/growthbook/growthbook-openfeature-provider-go/pull/2 There is small performance issue with GrowthBook SDK client too PR: https://github.com/growthbook/growthbook-golang/pull/48
  • g

    green-fall-98011

    05/06/2025, 6:18 AM
    @freezing-postman-69602 Could you please take a look? Thanks
    👀 1
  • g

    green-fall-98011

    06/02/2025, 12:25 PM
    There is issue with SSE https://github.com/growthbook/growthbook-golang/issues/51
  • g

    green-fall-98011

    06/02/2025, 12:38 PM
    @freezing-postman-69602 Could you look on https://github.com/growthbook/growthbook-golang/pull/54 https://github.com/growthbook/growthbook-golang/pull/53
    f
    • 2
    • 2
  • f

    flaky-noon-11399

    06/27/2025, 8:07 AM
    Hi Team, a customer is using v2.3 and when they are changing flags in feature flags, the cache of the sdk is not getting updated until they restart their go service. They have configured their polling to be gb.WithPollDataSource(30*time.Second) when initializing the client and they're not seeing an polling errors in the logs. Please see the thread for their code and logging supporting information..........
    m
    • 2
    • 5