utils

package
v0.7.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnyToString added in v0.6.1

func AnyToString(row any) string

func BytesToString added in v0.6.1

func BytesToString(b []byte) string

https://github.com/golang/go/issues/53003

func FlattenMap added in v0.7.1

func FlattenMap(recordMap map[string]any) map[string]any

func MapToString added in v0.6.1

func MapToString(recordMap map[string]string, sorted bool) string

func StringToBytes added in v0.6.1

func StringToBytes(s string) []byte

func StringToMap added in v0.6.1

func StringToMap(data string, fieldSep string, valueSep string) map[string]string

func UpdateGOMAXPROCS added in v0.6.1

func UpdateGOMAXPROCS(printf func(formatter string, args ...any), interval time.Duration) func()

Types

type Stack added in v0.7.1

type Stack []any

func (*Stack) Pop added in v0.7.1

func (s *Stack) Pop() any

func (*Stack) Push added in v0.7.1

func (s *Stack) Push(value any)

Jump to

Keyboard shortcuts

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