util

package
v0.0.0-...-b6ccf7d Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitConfig

func CommitConfig(v interface{}, f *os.File)

func CrashAndBurn

func CrashAndBurn(e error)

func FileSize

func FileSize(path string) int64

func GetFile

func GetFile(url string) ([]byte, error)

func GetImageFile

func GetImageFile(id []byte) ([]byte, error)

func Interrogate

func Interrogate(q string) []byte

func Nop

func Nop(v interface{})

func PasswdInterrogate

func PasswdInterrogate(prompt string) []byte

func PrintStruct

func PrintStruct(v interface{})

func URIStrip

func URIStrip(uri string) string

func URLStrip

func URLStrip(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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