Documentation
¶
Index ¶
- func NewBool(v bool) *bool
- func NewInt(v int) *int
- func NewString(v string) *string
- func ToBool(v *bool) bool
- func ToFloat64(v *Decimal) float64
- func ToInt(v *int) int
- func ToString(v *string) string
- type DateTime
- func Date(year, month, day int) DateTime
- func NewDate(year, month, day int) *DateTime
- func NewDateTime(time time.Time, precision Precision) *DateTime
- func NewYear(year int) *DateTime
- func NewYearMonth(year, month int) *DateTime
- func ParseDateTime(s string) (d DateTime, err error)
- func Year(year int) DateTime
- func YearMonth(year, month int) DateTime
- type Decimal
- type Precision
- type Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DateTime ¶
func NewYearMonth ¶
func ParseDateTime ¶
func (DateTime) MarshalJSON ¶
func (*DateTime) UnmarshalJSON ¶
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
Time.
func (Time) MarshalJSON ¶
func (*Time) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.