util

package
v0.0.0-...-a152fe2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(srcFile, dstFile string) error

func CreateROFile

func CreateROFile(dest, data string) error

func DecodeAscii85

func DecodeAscii85(data []byte) []byte

func EncodeAscii85

func EncodeAscii85(data []byte) string

func ExitMessage

func ExitMessage(err error) string

func GetExitCode

func GetExitCode(err error) int

func GetFreePort

func GetFreePort() (port int, err error)

func GetSignal

func GetSignal(err error) (os.Signal, bool)

func RandomBoxName

func RandomBoxName() string

func RandomString

func RandomString() string

Types

This section is empty.

Directories

Path Synopsis
Package fastrand implements fast pesudorandom number generator that should scale well on multi-CPU systems.
Package fastrand implements fast pesudorandom number generator that should scale well on multi-CPU systems.