Documentation ¶
Index ¶
- func GenNumbers(n uint8) string
- func GenString(n uint8) string
- func GetEnv(key string, fallback string) string
- func GetEnvOr(key string, fallback func() string) string
- func GetTotalHoursInAMonth(year int, month int) int
- func GetValidationErrors(err error) []domain.ErrorDetail
- func IsFQDN(input string) bool
- func MapValue[T Number](x, inMin, inMax, outMin, outMax T) T
- func ParseUrlFriendly(value string) string
- func PrintError(err error) string
- func PrintErrorAnd(err error, message string) string
- func PrintErrorMsg(err error, message string)
- func SplitCommand(command string) []string
- func TypeConverter[R any](data any) (*R, error)
- type Number
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenNumbers ¶
func GetTotalHoursInAMonth ¶
func GetValidationErrors ¶
func GetValidationErrors(err error) []domain.ErrorDetail
func ParseUrlFriendly ¶
func PrintError ¶
func PrintErrorAnd ¶
func PrintErrorMsg ¶
func SplitCommand ¶
func TypeConverter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.