strlist

package
v1.12.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StringMapKeys

func StringMapKeys(m interface{}) (res []string)

StringMapKeys string map sort

Types

type StringList

type StringList []string

StringList: str list

func (StringList) Count

func (sl StringList) Count() int

Count return sl count

func (StringList) Delete

func (sl StringList) Delete(token string) int

Delete del string

func (StringList) IsEmpty

func (sl StringList) IsEmpty() bool

IsEmpty is empty

func (StringList) Len

func (sl StringList) Len() int

Len len

func (StringList) Less

func (sl StringList) Less(i, j int) bool

Less less

func (StringList) Swap

func (sl StringList) Swap(i, j int)

Swap swap

func (StringList) UniqueAdd

func (sl StringList) UniqueAdd(token string) StringList

UniqueAdd unique add a string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL