Skip to content

Commit 8e63b53

Browse files
committed
fetching flags at org level
1 parent ce6ca1d commit 8e63b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

localEvaluation/localEvaluation.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type UserProperties struct {
3737
TemplateId string `json:"template_id,omitempty"`
3838
}
3939

40-
type Config struct {
40+
type AmplitudeConfig struct {
4141
Debug bool
4242
ServerUrl string
4343
FlagConfigPollerInterval time.Duration
@@ -89,7 +89,7 @@ func Initialize() {
8989
}
9090
}
9191

92-
func InitializeWithConfig(conf Config) {
92+
func InitializeWithConfig(conf AmplitudeConfig) {
9393
client = local.Initialize(LocalEvaluationDeploymentKey, (*local.Config)(&conf))
9494
err := client.Start()
9595
if err != nil {

0 commit comments

Comments
 (0)