Skip to content

Instantly share code, notes, and snippets.

func TestMonzo(t *testing.T) {
dataAdapter := dataAdapterExample{store: make(map[string]string)}
options := &statsig.Options{
Environment: statsig.Environment{Tier: "staging"},
DataAdapter: &dataAdapter,
IDListSyncInterval: time.Millisecond * 100,
}
statsig.InitializeWithOptions(stagingKey, options)
time.Sleep(time.Millisecond * 500)
log(dataAdapter.Get("statsig.id_lists"))