Documentation ¶
Index ¶
- func Contains(slice []string, s string) bool
- func ConvertSlashes(input string) string
- func EscapeSingleQuote(s string) string
- func GetOnlyLetters(yourString string) string
- func GetOnlyNumbers(yourString string) string
- func GetSignedNumbers(yourString string) string
- func HasLetters(yourString string) bool
- func HasNumbers(yourString string) bool
- func HasOnlyLetters(yourString string) bool
- func HasOnlyNumbers(yourString string) bool
- func ParseLines(stdout string) []string
- func Remove(slice []string, value string) []string
- func SplitAndTrim(s string, separator string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶
Contains returns true, if the specified slice contains the specified element, false otherwise
func ConvertSlashes ¶ added in v1.15.0
func EscapeSingleQuote ¶
func GetOnlyLetters ¶ added in v1.5.0
GetOnlyLetters returns a string containing only letters from given string
func GetOnlyNumbers ¶ added in v1.5.0
GetOnlyNumbers returns a string containing only numbers from given string
func GetSignedNumbers ¶ added in v1.5.0
GetSignedNumbers returns a string containing only positive and negative numbers from given string
func HasLetters ¶ added in v1.5.0
HasLetters returns true when string contains a letter [a-zA-Z]
func HasNumbers ¶ added in v1.5.0
HasNumbers returns true when string contains a letter [0-9]
func HasOnlyLetters ¶ added in v1.5.0
HasOnlyLetters returns true when string contains only letters
func HasOnlyNumbers ¶ added in v1.5.0
HasOnlyNumbers returns true when string contains only numbers
func ParseLines ¶ added in v1.19.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.