Versions in this module Expand all Collapse all v0 v0.2.1 Nov 13, 2023 Changes in this version + func NewSpreadsheetServiceFromEnv(ctx context.Context) (*spreadsheet.Service, error) + type FlagClient struct + func NewFlagClient(flagsURL string) *FlagClient + func (f *FlagClient) Evaluate(ctx context.Context, feature string, entityID string) (string, error) v0.2.0 Jul 3, 2023 Changes in this version + type Feature struct + Key string + LayerName string + VariantMap map[string]FeatureVariant + type FeatureValue string + type FeatureVariant struct + Percentage int + Value FeatureValue + type FlagName string + type FlagSheet struct + func NewFlagSheet(service *spreadsheet.Service, sheetID string, duration time.Duration) (*FlagSheet, error) + func (f FlagSheet) Evaluate(key string, id *string) (FeatureValue, error) + func (f FlagSheet) Refresh() error + type Layer struct + Name string + Version int