package
9.20.6+incompatible
Repository: https://github.com/alperrehayazgan/postgresbase.git
Documentation: pkg.go.dev

# Functions

NowDateTime returns new DateTime instance with the current local time.
ParseDateTime creates a new DateTime from the provided value (could be [cast.ToTime] supported string, [time.Time], etc.).
ParseJsonRaw creates a new JsonRaw instance from the provided value (could be JsonRaw, int, float, string, []byte, etc.).
Pointer is a generic helper that returns val as *T.

# Constants

DefaultDateLayout specifies the default app date strings layout.

# Structs

DateTime represents a [time.Time] instance in UTC that is wrapped and serialized using the app default date layout.

# Type aliases

JsonArray defines a slice that is safe for json and db read/write.
JsonMap defines a map that is safe for json and db read/write.
JsonRaw defines a json value type that is safe for db read/write.