utils

package
v0.0.0-...-1311957 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abort

func Abort(format string, args ...interface{})

func FormatDataSize

func FormatDataSize(size, precision int) string

func FormatSeconds

func FormatSeconds(s float64, precision int) string

func Panicf

func Panicf(format string, args ...interface{})

func RecoverValueString

func RecoverValueString(value interface{}) (msg string)

func Ref

func Ref[T any](v T) *T

func StackTrace

func StackTrace(skip, depth int, includeLocation bool) string

func UseUTCTimezone

func UseUTCTimezone()

func WalkFS

func WalkFS(filePath string, fn func(string, string, fs.FileInfo) error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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