arr

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnitJoin

func UnitJoin(ss []uint, sep string) string

连接 unit slice 为字符串

Types

type ArrayType added in v0.1.33

type ArrayType interface {
	Add(value interface{})
	Check(value interface{}) bool
	Len() int
	Values() map[interface{}]bool
}

type CheckArrayType added in v0.1.33

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

CheckType type for check array data

func NewCheckArrayType added in v0.1.33

func NewCheckArrayType(len int) *CheckArrayType

NewCheckArrayType

func (*CheckArrayType) Add added in v0.1.33

func (ct *CheckArrayType) Add(value interface{})

Add

func (*CheckArrayType) AddMutil added in v0.1.33

func (ct *CheckArrayType) AddMutil(values ...interface{})

AddMutil

func (*CheckArrayType) Check added in v0.1.33

func (ct *CheckArrayType) Check(value interface{}) bool

Check

func (*CheckArrayType) Len added in v0.1.33

func (ct *CheckArrayType) Len() int

Len

func (*CheckArrayType) Values added in v0.1.33

func (ct *CheckArrayType) Values() map[interface{}]bool

Values

Jump to

Keyboard shortcuts

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