util

package
v0.0.0-...-3dc7bed Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(condition bool, msg string)

func BytesToString

func BytesToString(b []byte) string

BytesToString converts byte slice to string without a memory allocation.

func FilterFlags

func FilterFlags(content string) string

func FunctionName

func FunctionName(f interface{}) string

func JoinPaths

func JoinPaths(absPath, relPath string) string

func LastChar

func LastChar(str string) uint8

func Min

func Min(a, b int) int

func ResolveAddr

func ResolveAddr(addrs ...string) string

func StringToBytes

func StringToBytes(s string) []byte

StringToBytes converts string to byte slice without a memory allocation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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