Documentation ¶
Index ¶
- type Address
- type Date
- func (d Date) MarshalJSON() ([]byte, error)
- func (d Date) MarshalText() ([]byte, error)
- func (d *Date) Scan(src interface{}) (err error)
- func (d *Date) Set(value string) (err error)
- func (d Date) String() string
- func (d *Date) UnmarshalJSON(data []byte) error
- func (d *Date) UnmarshalText(data []byte) error
- func (d Date) Value() (driver.Value, error)
- type Duration
- func (d Duration) MarshalJSON() ([]byte, error)
- func (d Duration) MarshalText() ([]byte, error)
- func (d *Duration) Scan(src interface{}) (err error)
- func (d *Duration) Set(value string) (err error)
- func (d Duration) String() string
- func (d *Duration) UnmarshalJSON(data []byte) error
- func (d *Duration) UnmarshalText(data []byte) error
- func (d Duration) Value() (driver.Value, error)
- type Email
- type Name
- type Time
- func (t Time) MarshalJSON() ([]byte, error)
- func (t Time) MarshalText() ([]byte, error)
- func (t *Time) Scan(src interface{}) (err error)
- func (t *Time) Set(value string) (err error)
- func (t Time) String() string
- func (t *Time) UnmarshalJSON(data []byte) error
- func (t *Time) UnmarshalText(data []byte) error
- func (t Time) Value() (driver.Value, error)
- type Weekday
- func (w Weekday) MarshalJSON() ([]byte, error)
- func (w Weekday) MarshalText() ([]byte, error)
- func (w *Weekday) Scan(src interface{}) error
- func (w *Weekday) Set(value string) (err error)
- func (w *Weekday) UnmarshalJSON(data []byte) error
- func (w *Weekday) UnmarshalText(data []byte) error
- func (w Weekday) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
// contains filtered or unexported fields
}
func NewAddress ¶
func (Address) MarshalText ¶
func (*Address) UnmarshalText ¶
type Date ¶
func (Date) MarshalJSON ¶
http://golang.org/src/time/time.go # MarshalJSON()
func (Date) MarshalText ¶
func (*Date) UnmarshalJSON ¶
func (*Date) UnmarshalText ¶
type Duration ¶
Duration is always represented in minutes
func NewDuration ¶
func (Duration) MarshalJSON ¶
func (Duration) MarshalText ¶
func (*Duration) UnmarshalJSON ¶
func (*Duration) UnmarshalText ¶
type Email ¶
type Email struct {
// contains filtered or unexported fields
}
func (Email) MarshalText ¶
func (*Email) UnmarshalText ¶
type Name ¶
type Name struct {
// contains filtered or unexported fields
}
func (Name) MarshalText ¶
func (*Name) UnmarshalText ¶
type Time ¶
func (Time) MarshalJSON ¶
func (Time) MarshalText ¶
func (*Time) UnmarshalJSON ¶
func (*Time) UnmarshalText ¶
type Weekday ¶
func NewWeekday ¶
func (Weekday) MarshalJSON ¶
func (Weekday) MarshalText ¶
func (*Weekday) UnmarshalJSON ¶
func (*Weekday) UnmarshalText ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.