Documentation ¶
Index ¶
- func BeautifyFilename(fn string) string
- func Conjoin(conj string, items []string) string
- func EscapeHTMLcomplexChars(s string) string
- func EscapeHTMLcomplexCharsByte(b []byte) []byte
- func MakeInitials(firstname, lastname string) string
- func MakeSlug(str string) string
- func Words(ch HTML, inSqBr int, testMode bool) ([]string, int, error)
- type HTML
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeautifyFilename ¶
BeautifyFilename takes a filename and attempts to turn it into a readable form, as TitleCase natural language, suitable for the top level of a Document.
func EscapeHTMLcomplexChars ¶
EscapeHTMLcomplexChars looks for "complex" characters within HTML and replaces them with the HTML escape codes which describe them. "Complex" characters are those encoded in more than one byte by UTF8.
func EscapeHTMLcomplexCharsByte ¶
EscapeHTMLcomplexCharsByte looks for "complex" characters within HTML and replaces them with the HTML escape codes which describe them. "Complex" characters are those encoded in more than one byte by UTF8.
func MakeInitials ¶
MakeInitials returns user initials from firstname and lastname.
Types ¶
Click to show internal directories.
Click to hide internal directories.