Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
func (Date) ToJapanese ¶
func (d Date) ToJapanese(variant JapaneseVariant) string
type JapaneseVariant ¶ added in v1.0.0
type JapaneseVariant int
const ( Hiragana JapaneseVariant = iota Katakana Kanji Romaji )
func NewJapaneseVariant ¶ added in v1.0.0
func NewJapaneseVariant(s string) JapaneseVariant
type Vocabulary ¶
type Vocabulary struct { DaysOfWeek map[string]Data `json:"days_of_week"` MonthsOfYear map[string]Data `json:"months_of_year"` DaysOfMonth map[string]Data `json:"days_of_month"` }
func NewVocabulary ¶
func NewVocabulary(jsonData []byte) (*Vocabulary, error)
Click to show internal directories.
Click to hide internal directories.