mapper

package
v1.0.42 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONToBooleanSlice

func JSONToBooleanSlice(data json.RawMessage) []bool

func JSONToDateSlice

func JSONToDateSlice(data json.RawMessage) []time.Time

func JSONToDatetimeSlice

func JSONToDatetimeSlice(data json.RawMessage) []time.Time

func JSONToFloatSlice

func JSONToFloatSlice(data json.RawMessage) []float64

func JSONToIntSlice

func JSONToIntSlice(data json.RawMessage) []int64

func JSONToStringSlice

func JSONToStringSlice(data json.RawMessage) []string

func JSONToUUIDSlice

func JSONToUUIDSlice(data json.RawMessage) []uuid.UUID

func SliceToJSON

func SliceToJSON(slice interface{}) json.RawMessage

func SqlNullStringToString added in v1.0.9

func SqlNullStringToString(s sql.NullString) string

func SqlNullStringToStringPtr added in v1.0.9

func SqlNullStringToStringPtr(s sql.NullString) *string

func StringPtrToSqlNullString added in v1.0.9

func StringPtrToSqlNullString(s *string) sql.NullString

func StringPtrToString added in v1.0.9

func StringPtrToString(s *string) string

func StringToSqlNullString added in v1.0.9

func StringToSqlNullString(s string) sql.NullString

func StringToStringPtr added in v1.0.9

func StringToStringPtr(s string) *string

Types

This section is empty.

Jump to

Keyboard shortcuts

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