Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Experimental update to Go example to work with new SDK #40

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

ian-ross
Copy link

@ian-ross ian-ross commented Jul 9, 2023

This PR includes changes to the Go example to work with an update to the Go SDK inspired by trying to figure out exactly how I would like this SDK to work if I was using it myself.

It also includes a new Go example based on the Echo web framework, to demonstrate how to use the SDK in a different setting.

NOTE @tinahollygb : to make this work, you need to pull the go-sdk-behavior-update branch of the growthbook-golang repository, and add a replace line to the go.mod file to use it. The go.mod I've checked in here includes an example of how to do this, so don't merge this one yet. I have left those lines in for testing, but once you're satisfied that this is OK, I'll remove them before we merge.

@ian-ross ian-ross marked this pull request as ready for review August 8, 2023 18:32
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