Documentation ¶
Index ¶
- func All(vs []string, f func(string) bool) bool
- func Any(vs []string, f func(string) bool) bool
- func Difference(slice1, slice2 []string) []string
- func Filter(vs []string, f func(string) bool) []string
- func Include(vs []string, t string) bool
- func Index(vs []string, t string) int
- func Intersect(slice1, slice2 []string) []string
- func MD5File(f *multipart.FileHeader) (string, error)
- func MD5Pwd(username string, password string) string
- func Map(vs []string, f func(string) string) []string
- func Union(slice1, slice2 []string) []string
- type IFUniqueItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IFUniqueItem ¶
type IFUniqueItem interface {
GetUniqueIndex() string
}
IFUniqueItem 去重接口
func RemoveDuplicateElemt ¶
func RemoveDuplicateElemt(items []IFUniqueItem) []IFUniqueItem
RemoveDuplicateElemt 去重函数
Click to show internal directories.
Click to hide internal directories.