typx

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetField

func GetField(v reflect.Value, i int) reflect.Value

func Nonzero

func Nonzero(v reflect.Value) bool

Types

type StringSet

type StringSet struct {
	// contains filtered or unexported fields
}

StringSet is string sets val

func NewStringSet

func NewStringSet() *StringSet

NewStringSet is new set

func (*StringSet) Add

func (set *StringSet) Add(i string) bool

Add is

func (*StringSet) Contains

func (set *StringSet) Contains(i string) bool

Contains is

func (*StringSet) Index

func (set *StringSet) Index(c string) int

Index is

func (*StringSet) ItemByIndex

func (set *StringSet) ItemByIndex(idx int) string

ItemByIndex is

func (*StringSet) Len

func (set *StringSet) Len() int

Len is

func (*StringSet) Remove

func (set *StringSet) Remove(i string)

Remove is

func (*StringSet) Sort

func (set *StringSet) Sort()

Sort is

func (*StringSet) String

func (set *StringSet) String() string

String is

Jump to

Keyboard shortcuts

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