Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EscapeString ¶
type EscapeString []StringWithEscape
func NewEscapeString ¶
func NewEscapeString(str string) EscapeString
func (EscapeString) Element ¶
func (e EscapeString) Element(ie int) string
func (EscapeString) Len ¶
func (e EscapeString) Len() int
func (EscapeString) String ¶
func (e EscapeString) String() string
func (EscapeString) Substring ¶
func (e EscapeString) Substring(start, end int) string
func (EscapeString) SubstringByWidth ¶
func (e EscapeString) SubstringByWidth(start, reqWidth int) string
func (EscapeString) Width ¶
func (e EscapeString) Width() int
type StringWithEscape ¶
type StringWithEscape struct {
// contains filtered or unexported fields
}
func (StringWithEscape) Len ¶
func (s StringWithEscape) Len() int
func (StringWithEscape) String ¶
func (s StringWithEscape) String() string
func (StringWithEscape) Width ¶
func (s StringWithEscape) Width() int
Click to show internal directories.
Click to hide internal directories.