Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HeaderFunctions = template.FuncMap{ "json": func(v string) string { return v }, "split": func(v string, _ string) string { return v }, "join": func(v string, _ string) string { return v }, "title": func(v string) string { return v }, "lower": func(v string) string { return v }, "upper": func(v string) string { return v }, "truncate": func(v string, _ int) string { return v }, }
HeaderFunctions are used to created headers of a table. This is a replacement of basicFunctions for header generation because we want the header to remain intact. Some functions like `pad` are not overridden (to preserve alignment with the columns).
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.