utils

package
v0.0.0-...-5f73fe0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ERROR_NotValidUnit        = "not valid unit %q. Expected d, h, m, s"
	ERROR_NotValidNumberValue = "not valid number value %q"
	ERROR_NotValidQuantity    = "not valid quantity of time. Got %q, Expected number greater than 0"
	ERROR_NotValidTime        = "not valid time value"
)

Variables

This section is empty.

Functions

func MakeTimeFromString

func MakeTimeFromString(st string) (time.Duration, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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