Versions in this module Expand all Collapse all v2 v2.77.4 Nov 2, 2024 v2.77.3 Nov 2, 2024 Changes in this version + func Array2DEquals(a [][]string, b [][]string) bool + func ArrayEquals(a []string, b []string) bool + func ArrayRemoveDuplicates(s *[]string) + func ArrayToString(s []string) string + func EscapeAssertion(s string) string + func GenerateConditionalGFunction(crm rbac.ConditionalRoleManager) govaluate.ExpressionFunction + func GenerateGFunction(rm rbac.RoleManager) govaluate.ExpressionFunction + func GetEvalValue(s string) []string + func GlobMatch(key1 string, key2 string) (bool, error) + func GlobMatchFunc(args ...interface{}) (interface{}, error) + func HasEval(s string) bool + func IPMatch(ip1 string, ip2 string) bool + func IPMatchFunc(args ...interface{}) (interface{}, error) + func IsNumeric(s string) bool + func JoinSlice(a string, b ...string) []string + func JoinSliceAny(a string, b ...string) []interface + func KeyGet(key1, key2 string) string + func KeyGet2(key1, key2 string, pathVar string) string + func KeyGet2Func(args ...interface{}) (interface{}, error) + func KeyGet3(key1, key2 string, pathVar string) string + func KeyGet3Func(args ...interface{}) (interface{}, error) + func KeyGetFunc(args ...interface{}) (interface{}, error) + func KeyMatch(key1 string, key2 string) bool + func KeyMatch2(key1 string, key2 string) bool + func KeyMatch2Func(args ...interface{}) (interface{}, error) + func KeyMatch3(key1 string, key2 string) bool + func KeyMatch3Func(args ...interface{}) (interface{}, error) + func KeyMatch4(key1 string, key2 string) bool + func KeyMatch4Func(args ...interface{}) (interface{}, error) + func KeyMatch5(key1 string, key2 string) bool + func KeyMatch5Func(args ...interface{}) (interface{}, error) + func KeyMatchFunc(args ...interface{}) (interface{}, error) + func ParamsToString(s ...string) string + func RegexMatch(key1 string, key2 string) bool + func RegexMatchFunc(args ...interface{}) (interface{}, error) + func RemoveComments(s string) string + func RemoveDuplicateElement(s []string) []string + func ReplaceEval(s string, rule string) string + func ReplaceEvalWithMap(src string, sets map[string]string) string + func Set2DEquals(a [][]string, b [][]string) bool + func SetEquals(a []string, b []string) bool + func SetEqualsInt(a []int, b []int) bool + func SetSubtract(a []string, b []string) []string + func SortArray2D(arr [][]string) + func SortedArray2DEquals(a [][]string, b [][]string) bool + func TimeMatch(startTime, endTime string) (bool, error) + func TimeMatchFunc(args ...string) (bool, error) + type LRUCache struct + func NewLRUCache(capacity int) *LRUCache + func (cache *LRUCache) Get(key interface{}) (value interface{}, ok bool) + func (cache *LRUCache) Put(key interface{}, value interface{}) + type SyncLRUCache struct + func NewSyncLRUCache(capacity int) *SyncLRUCache + func (cache *SyncLRUCache) Get(key interface{}) (value interface{}, ok bool) + func (cache *SyncLRUCache) Put(key interface{}, value interface{})