utils

package
v0.0.0-...-c393e39 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDataSize

func FormatDataSize(size, precision int) string

func FormatSeconds

func FormatSeconds(s float64, precision int) string

func Ref

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

func URIMerge

func URIMerge(base, ref *url.URL) *url.URL

func URIMergePath

func URIMergePath(uri *url.URL, uriPath string) *url.URL

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