Documentation
¶
Index ¶
- type StrUtil
- func (s *StrUtil) ArrayFilter(data []string, info string) []string
- func (s *StrUtil) ArrayFilterAny(data []string, info []string) []string
- func (s *StrUtil) ArrayKeys(data map[string]string) []string
- func (s *StrUtil) InArray(str string, data []string) bool
- func (s *StrUtil) Index(find interface{}, data []interface{}) []int
- func (s *StrUtil) Unique(data []string) []string
- func (s *StrUtil) UniqueAny(data []interface{}) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrUtil ¶
type StrUtil struct{}
func (*StrUtil) ArrayFilter ¶
ArrayFilter info 为空 则 过滤 空值 input []string{"", ""} return []string{}
func (*StrUtil) ArrayFilterAny ¶
ArrayFilterAny 过滤多个值
Click to show internal directories.
Click to hide internal directories.