Skip to content

Commit ec49116

Browse files
Merge pull request #19 from aksh-02/ODIN-207
[ODIN-207] ff all org data
2 parents e373c1e + 66f29c5 commit ec49116

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

localEvaluation/localEvaluation.go

+7
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ package localEvaluation
22

33
import (
44
"fmt"
5+
56
"github.com/LambdaTest/lambda-featureflag-go-sdk/pkg/experiment"
67
"github.com/LambdaTest/lambda-featureflag-go-sdk/pkg/experiment/local"
78
"github.com/joho/godotenv"
9+
810
"os"
911
"strconv"
1012
"time"
@@ -162,3 +164,8 @@ func GetFeatureFlagByOrg(user UserProperties) map[string]interface{} {
162164
data := getMapOfValue(user)
163165
return data
164166
}
167+
168+
func GetFeatureFlagAllDataByOrg(user UserProperties) map[string]experiment.Variant {
169+
result, _ := fetch(user)
170+
return result
171+
}

0 commit comments

Comments
 (0)