Documentation ¶
Index ¶
- func CopyStrSlice(s []string) []string
- func FilterList(l []string, rl []string) []string
- func GetMajorVersion(serverVersion version.Info) (int, error)
- func GetMinorVersion(serverVersion version.Info) (int, error)
- func RemoveAllElements(s []string, r string) []string
- func VersionMatch(v1 version.Info, v2 version.Info) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyStrSlice ¶
CopyStrSlice returns a copy of the slice of strings.
func FilterList ¶
FilterArgs returns a copy of "l" with elements from "toRemove" filtered out.
func RemoveAllElements ¶
RemoveAllElements removes all elements from "s" which match the string "r".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.