sqlpb_v1

package
v0.0.0-...-adb1db3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromNullBool

func FromNullBool(v sql.NullBool) *wrapperspb.BoolValue

func FromNullFloat64

func FromNullFloat64(v sql.NullFloat64) *wrapperspb.DoubleValue

func FromNullInt32

func FromNullInt32(v sql.NullInt32) *wrapperspb.Int32Value

func FromNullInt64

func FromNullInt64(v sql.NullInt64) *wrapperspb.Int64Value

func FromNullString

func FromNullString(v sql.NullString) *wrapperspb.StringValue

func FromNullTime

func FromNullTime(v sql.NullTime) *timestamppb.Timestamp

func FromNullType

func FromNullType[V interface{}, T interface{}](valid bool, value V, parse func(V) *T) *T

func ToNullBool

func ToNullBool(v *wrapperspb.BoolValue) sql.NullBool

func ToNullFloat64

func ToNullFloat64(v *wrapperspb.DoubleValue) sql.NullFloat64

func ToNullInt32

func ToNullInt32(v *wrapperspb.Int32Value) sql.NullInt32

func ToNullInt64

func ToNullInt64(v *wrapperspb.Int64Value) sql.NullInt64

func ToNullString

func ToNullString(v *wrapperspb.StringValue) sql.NullString

func ToNullTime

func ToNullTime(v *timestamppb.Timestamp) sql.NullTime

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL