Documentation ¶
Index ¶
- func Bool(val bool) *bool
- func Byte(val byte) *byte
- func CloneBool(test *bool) *bool
- func CloneFloat64(test *float64) *float64
- func CloneInt64(test *int64) *int64
- func CloneStr(test *string) *string
- func CloneTime(test *time.Time) *time.Time
- func DefBool(test *bool, value bool) bool
- func DefFloat64(test *float64, value float64) float64
- func DefInt64(test *int64, value int64) int64
- func DefStr(test *string, value string) string
- func DefTime(test *time.Time, value time.Time) time.Time
- func Float32(val float32) *float32
- func Float64(val float64) *float64
- func Int(val int) *int
- func Int16(val int16) *int16
- func Int32(val int32) *int32
- func Int64(val int64) *int64
- func Int8(val int8) *int8
- func IsEmpty(test *string) bool
- func IsNil(value interface{}) bool
- func String(val string) *string
- type Any
- type Boolean
- type Date
- func (this Date) Equals(other interface{}) bool
- func (this Date) HashCode() int
- func (this Date) MarshalJSON() ([]byte, error)
- func (this *Date) Scan(value interface{}) error
- func (this Date) String() string
- func (this *Date) UnmarshalJSON(b []byte) error
- func (this Date) Value() (driver.Value, error)
- type Double
- type Duration
- type Float
- type Integer
- type Long
- type Short
- type Str
- type Tiny
- type Unit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneFloat64 ¶
func CloneInt64 ¶
func DefFloat64 ¶
Types ¶
type Any ¶
type Any struct {
Val interface{}
}
type Date ¶
Date I Created this type because I wanted to control the generated/parsed JSON
func (Date) MarshalJSON ¶
func (*Date) UnmarshalJSON ¶
type Duration ¶
Duration gives us control to the generated/parsed JSON
func (Duration) MarshalJSON ¶
func (*Duration) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.