Documentation ¶
Overview ¶
Package box provides boxing helpers for scalar values. This package exists to help the transition form pointer based fields to `null` fields
Index ¶
- func Bool(b bool) *bool
- func Byte(b byte) *byte
- func Float32(n float32) *float32
- func Float64(n float64) *float64
- func Int(n int) *int
- func Int16(n int16) *int16
- func Int32(n int32) *int32
- func Int64(n int64) *int64
- func Int8(n int8) *int8
- func NonEmpty(s string) *string
- func String(s string) *string
- func Time(t time.Time) *time.Time
- func Uint(n uint) *uint
- func Uint16(n uint16) *uint16
- func Uint32(n uint32) *uint32
- func Uint64(n uint64) *uint64
- func Uint8(n uint8) *uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.