xslice

package
v0.0.0-...-0222c88 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Byte2Lower

func Byte2Lower(c byte) byte

func Byte2Upper

func Byte2Upper(c byte) byte

func Bytes2String

func Bytes2String(b []byte) string

func BytesToString

func BytesToString(b []byte) string

func SliceRemove

func SliceRemove[T any](s []T, index int) []T

Types

type GeneSort

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

func NewGeneSort

func NewGeneSort(value interface{}) *GeneSort

func (*GeneSort) GetFloatValueByIndex

func (s *GeneSort) GetFloatValueByIndex(index int) (float64, error)

func (*GeneSort) GetIntValueByIndex

func (s *GeneSort) GetIntValueByIndex(index int) (int64, error)

func (*GeneSort) GetStringValueByIndex

func (s *GeneSort) GetStringValueByIndex(index int) (string, error)

func (*GeneSort) Len

func (s *GeneSort) Len() int

func (*GeneSort) Less

func (s *GeneSort) Less(i, j int) bool

func (*GeneSort) SortFloat

func (s *GeneSort) SortFloat(name string, desc ...bool) error

func (*GeneSort) SortInt

func (s *GeneSort) SortInt(name string, desc ...bool) error

func (*GeneSort) SortString

func (s *GeneSort) SortString(name string, desc ...bool) error

func (*GeneSort) Swap

func (s *GeneSort) Swap(i, j int)

Jump to

Keyboard shortcuts

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