Documentation
¶
Overview ¶
Common utilities
Index ¶
- func BuildPath(host string, elements []string) string
- func ConcatIdentifiers(ids []string) string
- func ConcatInts(iarr []int) string
- func Contains(elements []string, value string) bool
- func ElapsedStr(d time.Duration) string
- func HasPrefix(str string, prefixes ...string) bool
- func HasURLScheme(url string) bool
- func IntInSlice(a int, list []int) bool
- func MapStringKeysToSlice(m map[string]string) []string
- func StringInSlice(a string, list []string) bool
- func TrimRootPath(id string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConcatIdentifiers ¶
* Concats a string array of ids in the form of /id with an output string of id, id2, etc
func ConcatInts ¶
func ElapsedStr ¶
func HasURLScheme ¶
func IntInSlice ¶ added in v0.8.3
func MapStringKeysToSlice ¶ added in v0.8.3
func StringInSlice ¶ added in v0.8.3
func TrimRootPath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.