Documentation ¶
Index ¶
- func ConvertToNullableBool(b bool) *bool
- func ToBool(v interface{}) (bool, error)
- func ToFloat(v interface{}) (float64, error)
- func ToInt(v interface{}) (int, error)
- func ToInt64(v interface{}) (int64, error)
- func ToNullableBool(v interface{}) (*bool, error)
- func ToNullableFloat(v interface{}) (*float64, error)
- func ToNullableInt(v interface{}) (*int, error)
- func ToNullableInt64(v interface{}) (*int64, error)
- func ToNullableString(v interface{}) (*string, error)
- func ToNullableTime(v interface{}) (*time.Time, error)
- func ToNullableUUIDString(v interface{}) (*string, error)
- func ToString(v interface{}) (string, error)
- func ToTime(v interface{}) (time.Time, error)
- func ToUUIDString(v interface{}) (string, error)
- func UnmarshallJSON(src interface{}, dest interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToNullableBool ¶
func ToFloat ¶
We need both a float64 and float32 in the long run. Just always use float64 until API changes db returns float64 so we should just do that.
func ToNullableBool ¶
func ToNullableFloat ¶
func ToNullableInt ¶
func ToNullableInt64 ¶
func ToNullableString ¶
TODO test nullable versions here...
func ToNullableTime ¶
func ToNullableUUIDString ¶
func ToUUIDString ¶
func UnmarshallJSON ¶
func UnmarshallJSON(src interface{}, dest interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.