package
1.8.5
Repository: https://github.com/optimizely/go-sdk.git
Documentation: pkg.go.dev

# Functions

GetDecideError returns error for decide type.
GetDecideMessage returns message for decide type.
NewDecisionReasons returns a new instance of DecisionReasons.
TranslateOptions converts string options array to array of OptimizelyDecideOptions.

# Constants

DisableDecisionEvent when set, disables decision event tracking.
EnabledFlagsOnly when set, returns decisions only for flags which are enabled.
ExcludeVariables when set, excludes variable values from the decision result.
FlagKeyInvalid when invalid flag key is provided.
IgnoreUserProfileService when set, skips user profile service for decision.
IncludeReasons when set, includes info and debug messages in the decision reasons.
SDKNotReady when sdk is not ready.
VariableValueInvalid when invalid variable value is provided.

# Structs

DefaultDecisionReasons provides the default implementation of DecisionReasons.
Options defines options for controlling flag decisions.

# Interfaces

DecisionReasons defines the reasons for which the decision was made.

# Type aliases

OptimizelyDecideOptions controlling flag decisions.