Documentation
¶
Index ¶
- func Implode(items interface{}, separator string) string
- type Array
- type IntSlice
- func (s IntSlice) Has(elem int) bool
- func (s IntSlice) Implode(separator string) string
- func (s IntSlice) Items() []int
- func (s IntSlice) Length() int
- func (s IntSlice) Max() int
- func (s IntSlice) Min() int
- func (s *IntSlice) Push(items ...int)
- func (s IntSlice) Sum() int
- func (s IntSlice) ToString() []string
- func (s IntSlice) Unique() []int
- type StringSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IntSlice ¶ added in v0.8.0
type IntSlice struct {
// contains filtered or unexported fields
}
IntSlice
type StringSlice ¶ added in v0.8.0
type StringSlice struct {
// contains filtered or unexported fields
}
StringSlice
func Explode ¶ added in v0.9.14
func Explode(str, separator string) StringSlice
Explode split string with separator
func (StringSlice) Implode ¶ added in v0.8.0
func (s StringSlice) Implode(separator string) string
Implode
func (StringSlice) ToInt ¶ added in v0.8.0
func (s StringSlice) ToInt() []int
ToString return string slice
func (StringSlice) Unique ¶ added in v0.8.0
func (s StringSlice) Unique() []string
Unique return unique elem slice
Click to show internal directories.
Click to hide internal directories.