You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently to create a new CfClient we have to import the package 'client'. And call NewCfClient. This isn't very go idiomatic.
We probably need to support the API at this stage, but should create a package called harness or flags and define the NewCfClient in it. That way when instantiating the client the user would call
@davejohnston What do you think about this ff := client.New(sdkKey string, options ...ConfigOption) it doesn require any breaking change just add New function. Later we can introduce new package ffclient in root of the project
`client := ffclient.New(sdkKey, options)
Currently to create a new CfClient we have to import the package 'client'. And call NewCfClient. This isn't very go idiomatic.
We probably need to support the API at this stage, but should create a package called
harness
orflags
and define the NewCfClient in it. That way when instantiating the client the user would callWe can have the current NewCfClient call the new one, to maintain backwards compatability i.e.
package client
The text was updated successfully, but these errors were encountered: