Versions in this module Expand all Collapse all v4 v4.4.0 Jun 26, 2025 v4.3.0 Apr 23, 2025 v4.2.0 Mar 27, 2025 v4.1.0 Dec 16, 2024 v4.0.0 Oct 23, 2024 Changes in this version + const All + const Any + const Contains + const Equal + const GreaterThan + const GreaterThanInclusive + const In + const IsNotSet + const IsSet + const LessThan + const LessThanInclusive + const Modulo + const None + const NotContains + const NotEqual + const PercentageSplit + const Regex + func EvaluateIdentityInSegment(identity *identities.IdentityModel, segment *SegmentModel, ...) bool + type ConditionOperator string + type RuleType string + type SegmentConditionModel struct + Operator ConditionOperator + Property string + Value string + func (m *SegmentConditionModel) MatchesTraitValue(traitValue string) bool + type SegmentModel struct + FeatureStates []*features.FeatureStateModel + ID int + Name string + Rules []*SegmentRuleModel + type SegmentRuleModel struct + Conditions []*SegmentConditionModel + Rules []*SegmentRuleModel + Type RuleType + func (sr *SegmentRuleModel) MatchingFunction() func([]bool) bool Other modules containing this package github.com/Flagsmith/flagsmith-go-client/v2 github.com/Flagsmith/flagsmith-go-client/v3 github.com/Flagsmith/flagsmith-go-client/v5