- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AsSlice (0.16 sec)
-
cmd/config.go
configHistory = append(configHistory, cfgEntry) count-- if count == 0 { break } } if !res.IsTruncated { // We are done here break } marker = res.NextMarker } sort.Slice(configHistory, func(i, j int) bool { return configHistory[i].CreateTime.Before(configHistory[j].CreateTime) }) return configHistory, nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Aug 23 10:07:06 GMT 2023 - 6K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 21:28:16 GMT 2024 - 7.9K bytes - Viewed (2) -
internal/config/config.go
// kvFields - converts an input string of form "k1=v1 k2=v2" into // fields of ["k1=v1", "k2=v2"], the tokenization of each `k=v` // happens with the right number of input keys, if keys // input is empty returned value is empty slice as well. func kvFields(input string, keys []string) []string { valueIndexes := make([]int, 0, len(keys)) for _, key := range keys { i := strings.Index(input, key+KvSeparator) if i == -1 { continue }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 37.3K bytes - Viewed (0)