utils

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsciiString added in v0.0.3

func AsciiString(str string) string

AsciiString returns a string of only ascii characters.

func Contains added in v0.0.4

func Contains(s []string, str string) bool

func Exists added in v0.0.2

func Exists(name string) (bool, error)

func FloatParse added in v0.0.3

func FloatParse(inputString string) (float64, error)

FloatParse common float parser

func GetEnv

func GetEnv(key, fallback string) string

func JulDate

func JulDate() string

func JulDateFromTime added in v0.0.9

func JulDateFromTime(tm time.Time) string

func PrettyPrintJson added in v0.0.10

func PrettyPrintJson(buf []byte) (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