Skip to content

Commit 7530056

Browse files
committed
added changes to optimize loop
1 parent 00c60fb commit 7530056

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/experiment/local/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ type EvaluationVariant struct {
55
Payload interface{} `json:"payload,omitempty"`
66
}
77

8-
type FlagResult struct {
8+
type flagResult struct {
99
Variant EvaluationVariant `json:"variant,omitempty"`
1010
Description string `json:"description,omitempty"`
1111
IsDefaultVariant bool `json:"isDefaultVariant,omitempty"`
1212
}
1313

14-
type EvaluationResult = map[string]FlagResult
14+
type EvaluationResult = map[string]flagResult
1515

1616
type interopResult struct {
1717
Result *EvaluationResult `json:"result,omitempty"`

0 commit comments

Comments
 (0)