util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoalesceString added in v0.1.0

func CoalesceString(primary any, fallback string) string

CoalesceString returns the first non-empty string from the arguments If primary is empty or only whitespace, returns fallback

func FileExists

func FileExists(filepath string) bool

func MkdirIfNotExists

func MkdirIfNotExists(dirPath string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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