Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NumberToWord = map[int]string{
1: "one",
2: "two",
3: "three",
4: "four",
5: "five",
6: "six",
7: "seven",
8: "eight",
9: "nine",
10: "ten",
11: "eleven",
12: "twelve",
13: "thirteen",
14: "fourteen",
15: "fifteen",
16: "sixteen",
17: "seventeen",
18: "eighteen",
19: "nineteen",
20: "twenty",
30: "thirty",
40: "forty",
50: "fifty",
60: "sixty",
70: "seventy",
80: "eighty",
90: "ninety",
}
NumberToWord contains the english word representing the number
Functions ¶
func ConvertNumToWord ¶
ConvertNumToWord converts a non-negative integer to its english equivalent
Types ¶
type BlogEntry ¶
type BlogEntry struct { ID string Date time.Time Author string Title string Subtitle string Tags []string }
BlogEntry represents a single post to the blog
type Book ¶
type Book struct { Title string Subtitle string Published string Authors []string Chapters []*Chapter }
Book represents the book getting created
type Config ¶
type Config struct { FullName string `yaml:"fullname"` Paths ConfigPaths `yaml:"paths"` }
Config contains all configurations required for note to run
type ConfigPaths ¶
Click to show internal directories.
Click to hide internal directories.