Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CHINESE_UNICODE_RANGE = []*unicode.RangeTable{ unicode.Han, }
View Source
var JAPANESE_UNICODE_RANGE = []*unicode.RangeTable{ unicode.Hiragana, }
Functions ¶
func ChunksByte ¶
returns the splited string by the size, chunkSize will be rounded to smallest int divisble by the rune size
func GuessLanguageByUnicode ¶
Guess the language code for a string by looking at the unicode
func StripHtmlTags ¶
Aggressively strips HTML tags from a string. It will only keep anything between `>` and `<`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.