util

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolPtr

func BoolPtr(b bool) *bool

func ExecuteCommand

func ExecuteCommand(command string, args ...string) (string, error)

func FileExists

func FileExists(filename string) bool

func MatchPrefix

func MatchPrefix(prefix string, fields ...string) ([]string, bool)

func PathExists

func PathExists(path string) (bool, os.FileInfo)

func RandomSHA

func RandomSHA(byteLen int) (string, error)

RandomSHA returns a hex-encoded string from {byteLen} random bytes.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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