Documentation
¶
Index ¶
- func CheckNotFound(err error) error
- func DerefOrEmpty[T any](val *T) T
- func IsNotNil[T any](val *T) bool
- func Null[T any](a *T) *sql.Null[T]
- func NullFloat64(f *float32) *float64
- func NullInt64(i *int32) *int64
- func NullLike(s *string) *string
- func NullTimestamp(ts *timestamppb.Timestamp) *time.Time
- func ToPointer[T any](val T) *T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckNotFound ¶
func DerefOrEmpty ¶
func DerefOrEmpty[T any](val *T) T
func NullFloat64 ¶
func NullTimestamp ¶
func NullTimestamp(ts *timestamppb.Timestamp) *time.Time
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.