Versions in this module Expand all Collapse all v2 v2.1.0 Sep 20, 2022 v2.0.0 Jun 26, 2022 Changes in this version + const Host32bit + const Host64bit + func AppendInt(dst []byte, i int64, base int) []byte + func AppendUint(dst []byte, i uint64, base int) []byte + func Atoi(s string) (int, error) + func BoolToDigit(v T) D + func BoolsToDigits(a []T) (b []D) + func DereferenceImplementType(v reflect.Value) reflect.Type + func DereferenceInterfaceValue(v reflect.Value) reflect.Value + func DereferencePtrValue(v reflect.Value) reflect.Value + func DereferenceSlice(v reflect.Value) reflect.Value + func DereferenceType(t reflect.Type) reflect.Type + func DereferenceValue(v reflect.Value) reflect.Value + func DigitToDigit(v T) (D, error) + func DigitToFloat64(v T) float64 + func DigitsToDigits(a []T) (b []D, err error) + func FormatInt(i int64, base int) string + func FormatUint(i uint64, base int) string + func FormatUintByDict(dict []byte, num uint64) string + func IndirectValue(v reflect.Value) reflect.Value + func InitBool(p *bool, def bool) (done bool) + func InitByte(p *byte, def byte) (done bool) + func InitFloat32(p *float32, def float32) (done bool) + func InitFloat64(p *float64, def float64) (done bool) + func InitInt(p *int, def int) (done bool) + func InitInt16(p *int16, def int16) (done bool) + func InitInt32(p *int32, def int32) (done bool) + func InitInt64(p *int64, def int64) (done bool) + func InitInt8(p *int8, def int8) (done bool) + func InitPointer(v reflect.Value) (done bool) + func InitSampleValue(t reflect.Type, maxNestingDeep int) reflect.Value + func InitString(p *string, def string) (done bool) + func InitUint(p *uint, def uint) (done bool) + func InitUint16(p *uint16, def uint16) (done bool) + func InitUint32(p *uint32, def uint32) (done bool) + func InitUint64(p *uint64, def uint64) (done bool) + func InitUint8(p *uint8, def uint8) (done bool) + func Itoa(i int) string + func ParseInt(s string, base int, bitSize int) (i int64, err error) + func ParseUint(s string, base int, bitSize int) (uint64, error) + func ParseUintByDict(dict []byte, numStr string) (D, error) + func ReferenceSlice(v reflect.Value, ptrDepth int) reflect.Value + func ReferenceType(t reflect.Type, ptrDepth int) reflect.Type + func ReferenceValue(v reflect.Value, ptrDepth int) reflect.Value + func RuntimeTypeID(t reflect.Type) uintptr + func RuntimeTypeIDOf(i interface{}) uintptr + func SetsDifference(set1, set2 []T, others ...[]T) []T + func SetsIntersect(set1, set2 []T, others ...[]T) []T + func SetsUnion(set1, set2 []T, others ...[]T) []T + func StringToDigit(v T, base int, bitSize int) (D, error) + func StringsToDigits(a []T, base int, bitSize int) (b []D, err error) + func ToBool(v T) bool + func ToBools(a []T) []bool + func ToInterface(v interface{}) interface + func ToInterfaces(a []T) []interface + func ToPtr(v T) *T + func ToPtrWithErr(v T, err error) (*T, error) + func ToString(v interface{}) T + func ToStrings(a []T) []D + func UnsafeBytesToString(b []byte) string + func UnsafeStringToBytes(s string) []byte + func VecConcat(s ...[]T) []T + func VecCopy(s []T) []T + func VecCopyWithin(s []T, target, start int, end ...int) + func VecDistinct(s *[]T, changeSlice bool) (distinctCount map[T]int) + func VecEvery(s []T, fn func(s []T, k int, v T) bool) bool + func VecFill(s []T, value T, start int, end ...int) + func VecFilter(s []T, fn func(s []T, k int, v T) bool) []T + func VecFind(s []T, fn func(s []T, k int, v T) bool) (k int, v T) + func VecIncludes(s []T, valueToFind T, fromIndex ...int) bool + func VecIndexOf(s []T, searchElement T, fromIndex ...int) int + func VecIntersect(s ...[]T) (intersectCount map[T]int) + func VecLastIndexOf(s []T, searchElement T, fromIndex ...int) int + func VecMap(s []T, fn func(s []T, k int, v T) T) []T + func VecOne(s []T) T + func VecPop(s *[]T) (T, bool) + func VecPush(s *[]T, element ...T) int + func VecPushDistinct(s []T, element ...T) []T + func VecReduce(s []T, fn func(s []T, k int, v, accumulator T) T, initialValue ...T) T + func VecReduceRight(s []T, fn func(s []T, k int, v, accumulator T) T, initialValue ...T) T + func VecRemoveEvery(p *[]T, elements ...T) int + func VecRemoveFirst(p *[]T, elements ...T) int + func VecReverse(s []T) + func VecShift(s *[]T) (T, bool) + func VecSlice(s []T, begin int, end ...int) []T + func VecSome(s []T, fn func(s []T, k int, v T) bool) bool + func VecSplice(s *[]T, start, deleteCount int, items ...T) + func VecUnshift(s *[]T, element ...T) int + func VecUnshiftDistinct(s *[]T, element ...T) int + func Zero() T + type Value struct + func ValueFrom(v reflect.Value) Value + func ValueFrom2(v *reflect.Value) Value + func ValueOf(i interface{}) Value + func (v Value) CanAddr() bool + func (v Value) Elem() Value + func (v Value) FuncForPC() *runtime.Func + func (v Value) IsNil() bool + func (v Value) Kind() reflect.Kind + func (v Value) Pointer() uintptr + func (v Value) RuntimeTypeID() uintptr + func (v Value) UnderlyingElem() Value Other modules containing this package github.com/andeya/ameda