converter

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: MPL-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJSONNullBool

func ConvertJSONNullBool(value string) reflect.Value

func ConvertJSONNullString

func ConvertJSONNullString(value string) reflect.Value

func ConvertSQLNullBool

func ConvertSQLNullBool(value string) reflect.Value

func ConvertSQLNullFloat64

func ConvertSQLNullFloat64(value string) reflect.Value

func ConvertSQLNullInt64

func ConvertSQLNullInt64(value string) reflect.Value

func ConvertSQLNullString

func ConvertSQLNullString(value string) reflect.Value

func JSONNullBool

func JSONNullBool(value string) reflect.Value

func JSONNullString

func JSONNullString(value string) reflect.Value

func SQLNullBool

func SQLNullBool(value string) reflect.Value

func SQLNullFloat64

func SQLNullFloat64(value string) reflect.Value

func SQLNullInt64

func SQLNullInt64(value string) reflect.Value

func SQLNullString

func SQLNullString(value string) reflect.Value

Types

type NullJSONBool

type NullJSONBool struct {
	sql.NullBool
}

func (NullJSONBool) MarshalJSON

func (v NullJSONBool) MarshalJSON() ([]byte, error)

func (*NullJSONBool) UnmarshalJSON

func (v *NullJSONBool) UnmarshalJSON(data []byte) error

type NullJSONString

type NullJSONString struct {
	sql.NullString
}

func (NullJSONString) MarshalJSON

func (v NullJSONString) MarshalJSON() ([]byte, error)

func (*NullJSONString) UnmarshalJSON

func (v *NullJSONString) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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