Versions in this module Expand all Collapse all v1 v1.0.1 Aug 17, 2020 Changes in this version + type CertPool x509.CertPool + func (p *CertPool) UnmarshalJSON(data []byte) error + type Certificate x509.Certificate + func (c *Certificate) UnmarshalJSON(data []byte) error + type Date struct + func ParseDate(s string) (Date, error) + func (d *Date) UnmarshalJSON(data []byte) error + func (d Date) At(hh, mm, ss int) Date + func (d Date) AtEndOfDay() Date + func (d Date) Equal(other interface{}) bool + func (d Date) MarshalJSON() ([]byte, error) + type DateTime struct + func ParseDateTime(s string) (DateTime, error) + func (d *DateTime) UnmarshalJSON(data []byte) error + func (d DateTime) MarshalJSON() ([]byte, error) + type Duration struct + func ParseDuration(s string) (Duration, error) + func (d *Duration) Or(def time.Duration) time.Duration + func (d *Duration) UnmarshalJSON(data []byte) error + func (d Duration) MarshalJSON() ([]byte, error) + type Seconds time.Duration + func (s *Seconds) Or(def time.Duration) time.Duration + func (s *Seconds) UnmarshalJSON(data []byte) error + func (s Seconds) String() string + type TLS tls.Certificate + func (t *TLS) UnmarshalJSON(data []byte) error + type Time struct + func ParseTime(s string) (Time, error) + func (d *Time) UnmarshalJSON(data []byte) error + func (d Time) MarshalJSON() ([]byte, error) + type URL struct + Raw string + URL *url.URL + func (u *URL) String() string + func (u *URL) UnmarshalJSON(data []byte) error