Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsChinese ¶
func IsChineseRune ¶
Types ¶
type WordWrapper ¶
type WordWrapper struct {
// contains filtered or unexported fields
}
func NewWordWrapper ¶
func NewWordWrapper(width int) *WordWrapper
func (*WordWrapper) Lines ¶
func (ww *WordWrapper) Lines(text string) (lines []string)
Click to show internal directories.
Click to hide internal directories.