We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8399c4 commit 5059af0Copy full SHA for 5059af0
featureflag/global.go
@@ -41,3 +41,7 @@ func Enabled(key, userID string, attrs ...Attr) bool {
41
func Variation(key, defaultVal, userID string, attrs ...Attr) string {
42
return GetGlobalClient().Variation(key, defaultVal, userID, attrs...)
43
}
44
+
45
+func Int(key string, defaultVal int, userID string, attrs ...Attr) int {
46
+ return GetGlobalClient().Int(key, defaultVal, userID, attrs...)
47
+}
0 commit comments