util

package
v0.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendUniqueString added in v0.2.1

func AppendUniqueString(keys []string, key string) []string

AppendUniqueString will append a string to a slice if and only if the string is not already in the slice.

func ConcatBytes

func ConcatBytes(margin int, bzs ...[]byte) []byte

ConcatBytes creates a new slice by merging list of bytes and leaving empty amount of margin bytes at the end

func UintWithNullPrefix

func UintWithNullPrefix(n uint64) []byte

Types

This section is empty.

Directories

Path Synopsis
Package checkers provides functions and structures to verify common types and aggregate errors.
Package checkers provides functions and structures to verify common types and aggregate errors.
Package genmap provides generic functions for manipulating maps.
Package genmap provides generic functions for manipulating maps.

Jump to

Keyboard shortcuts

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