package
0.0.0-20240807084400-93202a208511
Repository: https://github.com/yirgacheffe/golang-codes.git
Documentation: pkg.go.dev

# Functions

NullEncoding shows an alternative method for dealing with nil/omitted values.
PointerEncoding shows methods for dealing with nil/omitted values.
RegularEncoding shows encoding and decoding with normal types.

# Structs

Example is a basic struct with age and name fields.
ExamplePointer is the same, but uses a *Int.
NullIntExample is the same, but uses a sql.NullInt64.