Documentation
¶
Index ¶
- Variables
- func CutData(data string) (string, uuid.UUID)
- func GetAddr(address string) (string, int)
- func In(haystack interface{}, needle interface{}) (bool, error)
- func InIntSlice(haystack []int, needle int) bool
- func InIntSliceMapKeyFunc(haystack []int) func(int) bool
- func InIntSliceSortedFunc(haystack []int) func(int) bool
- func InStringSlice(haystack []string, needle string) bool
- func InStringSliceMapKeyFunc(haystack []string) func(string) bool
- func InStringSliceSortedFunc(haystack []string) func(string) bool
- func LoadConfig()
- func MapKeyInIntSlice(haystack []int, needle int) bool
- func MapKeyInStringSlice(haystack []string, needle string) bool
- func SaveData()
- func SortInIntSlice(haystack []int, needle int) bool
- func SortInStringSlice(haystack []string, needle string) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnSupportHaystack = errors.New("haystack must be slice, array")
)
Functions ¶
func InIntSlice ¶
func InIntSliceMapKeyFunc ¶
func InIntSliceSortedFunc ¶
func InStringSlice ¶
func InStringSliceMapKeyFunc ¶
func InStringSliceSortedFunc ¶
func LoadConfig ¶
func LoadConfig()
func MapKeyInIntSlice ¶
func MapKeyInStringSlice ¶
func SortInIntSlice ¶
func SortInStringSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.