package
0.3.1
Repository: https://github.com/icinga/icinga-go-library.git
Documentation: pkg.go.dev

# Functions

CantDecodeHex wraps the given error with the given string that cannot be hex-decoded.
CantParseFloat64 wraps the given error with the specified string that cannot be parsed into float64.
CantParseInt64 wraps the given error with the specified string that cannot be parsed into int64.
CantParseUint64 wraps the given error with the specified string that cannot be parsed into uint64.
CantUnmarshalYAML wraps the given error with the designated value, which cannot be unmarshalled into.
MakeString constructs a new non-NULL String from s.
MarshalJSON calls json.Marshal and wraps any resulting errors.
Name returns the declared name of type t.
UnmarshalJSON calls json.Unmarshal and wraps any resulting errors.

# Structs

Bool represents a bool for ENUM ('y', 'n'), which can be NULL.
Float adds JSON support to sql.NullFloat64.
Int adds JSON support to sql.NullInt64.
String adds JSON support to sql.NullString.
UUID is like uuid.UUID, but marshals itself binarily (not like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) in SQL context.

# Type aliases

Binary nullable byte string.
UnixMilli is a nullable millisecond UNIX timestamp in databases and JSON.