Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶ added in v0.0.2
Date adds extra unmarshaling logic for time.Date
func (*Date) MarshalText ¶ added in v0.0.2
MarshalText marshals Date as string
func (*Date) UnmarshalText ¶ added in v0.0.2
UnmarshalText unmarshals text into a Date
type Regexp ¶
Regexp adds unmarshalling from yaml for regexp.Regexp
func (*Regexp) MarshalText ¶
MarshalText marshals regexp.Regexp as string
func (*Regexp) UnmarshalText ¶
UnmarshalText unmarshals yaml into a regexp.Regexp
type SmartString ¶ added in v0.0.6
type SmartString struct {
// contains filtered or unexported fields
}
func (*SmartString) MarshalText ¶ added in v0.0.6
func (ss *SmartString) MarshalText() (value []byte, err error)
func (*SmartString) MustString ¶ added in v0.0.7
func (ss *SmartString) MustString(properties *SmartStringProperties) string
func (*SmartString) String ¶ added in v0.0.6
func (ss *SmartString) String(properties *SmartStringProperties) (string, error)
func (*SmartString) UnmarshalText ¶ added in v0.0.6
func (ss *SmartString) UnmarshalText(b []byte) (err error)
type SmartStringProperties ¶ added in v0.0.8
type SmartStringProperties struct { String string Obj interface{} }
type TZLocation ¶ added in v0.0.4
Date adds extra unmarshaling logic for TZLocation
func (*TZLocation) MarshalText ¶ added in v0.0.4
func (tzl *TZLocation) MarshalText() ([]byte, error)
MarshalText marshals TZLocation as string
func (*TZLocation) String ¶ added in v0.0.4
func (tzl *TZLocation) String() string
String returns the TZLocation as string
func (*TZLocation) UnmarshalText ¶ added in v0.0.4
func (tzl *TZLocation) UnmarshalText(b []byte) (err error)
UnmarshalText unmarshals text into a TZLocation
type Url ¶ added in v0.0.11
func (*Url) MarshalText ¶ added in v0.0.11
MarshalText marshals Url as string
func (*Url) UnmarshalText ¶ added in v0.0.11
UnmarshalText unmarshals text into an Url
Click to show internal directories.
Click to hide internal directories.