Documentation ¶
Index ¶
- func Bool(s bool) *bool
- func BoolR(s *bool) bool
- func Deref[T any](p *T) T
- func Float32(s float32) *float32
- func Float32R(s *float32) float32
- func Float64(s float64) *float64
- func Float64R(s *float64) float64
- func Int(s int) *int
- func Int32(s int32) *int32
- func Int32R(s *int32) int32
- func Int64(s int64) *int64
- func Int64R(s *int64) int64
- func IntR(s *int) int
- func Ptr[T any](v T) *T
- func String(s string) *string
- func StringR(s *string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deref ¶ added in v0.0.495
func Deref[T any](p *T) T
Deref returns the input values de-referenced value, or zero value if nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.