tool

package
v0.2.20 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendMap added in v0.1.217

func AppendMap[K comparable, V comparable](out map[K]V, maps ...map[K]V) map[K]V

func CheckJSON

func CheckJSON(in []byte) error

func CryptoRandomBytes

func CryptoRandomBytes(n int) []byte

func Max added in v0.1.204

func Max[T constraints.Ordered](s ...T) T

func MinifyJSON

func MinifyJSON(in []byte) []byte

func RandomString

func RandomString(n int) string

Types

type Buffer added in v0.1.213

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

func NewBuffer added in v0.1.213

func NewBuffer(buf []byte) *Buffer

func (*Buffer) Write added in v0.1.213

func (self *Buffer) Write(data []byte) (n int, err error)

Jump to

Keyboard shortcuts

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