commonThings

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Save string = "save"
	Load string = "load"
)

Variables

This section is empty.

Functions

func FormatDuration

func FormatDuration(duration time.Duration) string

func SelectFilePath

func SelectFilePath(
	title string,
	filters SelectFilePathFilters,
	startFile string,
	startDir string,
	actionType string,
) (string, error)

func Try

func Try(f func() error, attempts int)

Types

type SelectFilePathFilter

type SelectFilePathFilter [2]string

type SelectFilePathFilters

type SelectFilePathFilters []SelectFilePathFilter

Jump to

Keyboard shortcuts

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