converters

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrMsgFreqParamEmpty = "Frequency parameter cannot be empty."
	ErrMsgBadTimeFormat  = "Bad time format, expected HH:MM or HHMM"
	ErrMsgBadDateFormat  = "Bad date format, expected YYYYMMDD or YYYY-MM-DD"
)

Variables

This section is empty.

Functions

func CheckFloat64

func CheckFloat64(op errors.Op, src any) (float64, error)

func CheckInt64

func CheckInt64(op errors.Op, src any) (int64, error)

func CheckString

func CheckString(op errors.Op, src any) (string, error)

func CheckTime added in v0.0.5

func CheckTime(op errors.Op, src any) (time.Time, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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