Documentation ¶
Index ¶
- Constants
- func At(value []byte, delimiter byte, index int) []byte
- func Head(value []byte, delimiter byte) []byte
- func Index(value []byte, delimiter byte) int
- func IsEmpty(value []byte) bool
- func IsEmptyTail(value []byte, delimiter byte) bool
- func Last(value []byte, delimiter byte) []byte
- func LastIndex(value []byte, delimiter byte) int
- func PushHead(value []byte, newValue []byte, delimiter byte) []byte
- func PushTail(value []byte, newValue []byte, delimiter byte) []byte
- func RemoveLast(value []byte, delimiter byte) []byte
- func Split(value []byte, delimiter byte) ([]byte, []byte)
- func SplitTail(value []byte, delimiter byte) ([]byte, []byte)
- func Tail(value []byte, delimiter byte) []byte
- type Comma
- func (list Comma) At(index int) string
- func (list Comma) Head() string
- func (list Comma) IsEmpty() bool
- func (list Comma) IsEmptyTail() bool
- func (list Comma) Last() string
- func (list Comma) PushHead(value string) Comma
- func (list Comma) PushTail(value string) Comma
- func (list Comma) RemoveLast() Comma
- func (list Comma) Split() (string, Comma)
- func (list Comma) SplitTail() (Comma, string)
- func (list Comma) String() string
- func (list Comma) Tail() Comma
- type Dot
- func (list Dot) At(index int) string
- func (list Dot) Head() string
- func (list Dot) IsEmpty() bool
- func (list Dot) IsEmptyTail() bool
- func (list Dot) Last() string
- func (list Dot) PushHead(value string) Dot
- func (list Dot) PushTail(value string) Dot
- func (list Dot) RemoveLast() Dot
- func (list Dot) Split() (string, Dot)
- func (list Dot) SplitTail() (Dot, string)
- func (list Dot) String() string
- func (list Dot) Tail() Dot
- type Equal
- func (list Equal) At(index int) string
- func (list Equal) Head() string
- func (list Equal) IsEmpty() bool
- func (list Equal) IsEmptyTail() bool
- func (list Equal) Last() string
- func (list Equal) PushHead(value string) Equal
- func (list Equal) PushTail(value string) Equal
- func (list Equal) RemoveLast() Equal
- func (list Equal) Split() (string, Equal)
- func (list Equal) SplitTail() (Equal, string)
- func (list Equal) String() string
- func (list Equal) Tail() Equal
- type Slash
- func (list Slash) At(index int) string
- func (list Slash) Head() string
- func (list Slash) IsEmpty() bool
- func (list Slash) IsEmptyTail() bool
- func (list Slash) Last() string
- func (list Slash) PushHead(value string) Slash
- func (list Slash) PushTail(value string) Slash
- func (list Slash) RemoveLast() Slash
- func (list Slash) Split() (string, Slash)
- func (list Slash) SplitTail() (Slash, string)
- func (list Slash) String() string
- func (list Slash) Tail() Slash
- type Space
- func (list Space) At(index int) string
- func (list Space) Head() string
- func (list Space) IsEmpty() bool
- func (list Space) IsEmptyTail() bool
- func (list Space) Last() string
- func (list Space) PushHead(value string) Space
- func (list Space) PushTail(value string) Space
- func (list Space) RemoveLast() Space
- func (list Space) Split() (string, Space)
- func (list Space) SplitTail() (Space, string)
- func (list Space) String() string
- func (list Space) Tail() Space
- type Stringlike
Constants ¶
View Source
const DelimiterComma = ','
View Source
const DelimiterDot = '.'
View Source
const DelimiterEqual = '='
View Source
const DelimiterSlash = '/'
View Source
const DelimiterSpace = ' '
Variables ¶
This section is empty.
Functions ¶
func IsEmptyTail ¶ added in v0.3.0
IsEmptyTail returns TRUE if this list only has one element
func LastIndex ¶ added in v0.3.0
LastIndex finds the last occurrance of the delimiter (-1 if not found)
func RemoveLast ¶
RemoveLast returns the full list, with the last element removed.
Types ¶
type Comma ¶ added in v0.3.0
type Comma []byte
func (Comma) IsEmptyTail ¶ added in v0.3.0
func (Comma) RemoveLast ¶ added in v0.3.0
type Dot ¶ added in v0.3.0
type Dot []byte
func (Dot) IsEmptyTail ¶ added in v0.3.0
func (Dot) RemoveLast ¶ added in v0.3.0
type Equal ¶ added in v0.3.0
type Equal []byte
func (Equal) IsEmptyTail ¶ added in v0.3.0
func (Equal) RemoveLast ¶ added in v0.3.0
type Slash ¶ added in v0.3.0
type Slash []byte
func (Slash) IsEmptyTail ¶ added in v0.3.0
func (Slash) RemoveLast ¶ added in v0.3.0
type Space ¶ added in v0.3.0
type Space []byte
func (Space) IsEmptyTail ¶ added in v0.3.0
func (Space) RemoveLast ¶ added in v0.3.0
type Stringlike ¶ added in v0.3.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.