package
1.1.0
Repository: https://github.com/escanbe/go-lib.git
Documentation: pkg.go.dev

# Functions

BigIntAsNullableSqlInt64 do transform a big.Int into an int64 object that nullable in the underlying database, if the pointer is NIL, it will be NULL.
BooleanAsSqlNullableBoolean do transform a boolean into a boolean object that nullable in the underlying database, if the boolean value is FALSE, it will be NULL.
JsonAsSqlNullableString do transform an object into a string that nullable in the underlying database.
StringAsSqlNullableString do transform a string into a string object that nullable in the underlying database, if the string is empty, it will be NULL.
ToPostgresArray transforms the input array into array in underlying database.
Utf8StringAsSqlNullableString receives a string, then remove invalid UTF characters and then transform the string into a string object that nullable in the underlying database, if the string is empty, it will be NULL.