internal

package
v0.0.0-...-29a33d7 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BenchPerCoreConfigs

func BenchPerCoreConfigs(b *testing.B, f func(b *testing.B))

func CountTotalDigits

func CountTotalDigits(i int) int

Source: https://stackoverflow.com/a/68124773

func ExtractStrMapStrKeys

func ExtractStrMapStrKeys(m map[string]string) []string

func IndexNum

func IndexNum[T Number](r []T, i int) T

func SliceString

func SliceString(str string, indexStart, indexEnd int) string

JavaScript - String.prototype.slice: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice

func SumUnicodeValue

func SumUnicodeValue[T ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uintptr | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~float32 | ~float64](s string) T

Types

type Any

type Any interface {
	~string | Number
}

type EmptyFieldError

type EmptyFieldError string

func (EmptyFieldError) Error

func (e EmptyFieldError) Error() string

type EmptyInputError

type EmptyInputError string

func (EmptyInputError) Error

func (e EmptyInputError) Error() string

type EmptyOrInvalidFieldError

type EmptyOrInvalidFieldError string

func (EmptyOrInvalidFieldError) Error

func (e EmptyOrInvalidFieldError) Error() string

type EmptyOrInvalidInputError

type EmptyOrInvalidInputError string

func (EmptyOrInvalidInputError) Error

func (e EmptyOrInvalidInputError) Error() string

type FieldNotFound

type FieldNotFound string

func (FieldNotFound) Error

func (e FieldNotFound) Error() string

type NullInputError

type NullInputError string

func (NullInputError) Error

func (e NullInputError) Error() string

type NullStructError

type NullStructError string

func (NullStructError) Error

func (e NullStructError) Error() string

type Number

type Number interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uintptr | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~float32 | ~float64 | ~complex64 | ~complex128
}

type UndefinedVersionError

type UndefinedVersionError string

func (UndefinedVersionError) Error

func (e UndefinedVersionError) Error() string

Directories

Path Synopsis
device

Jump to

Keyboard shortcuts

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