Documentation
¶
Index ¶
- Constants
- func Background()
- func IsChinese(text string) bool
- func Middle(left, right string) string
- func Println(left, middle, right string)
- func PrintlnFailure(format string, args ...any)
- func PrintlnNormal(left, right string)
- func PrintlnOk(format string, args ...any)
- type Border
- type Column
- type Position
- type Row
- type Table
- type Wrap
Constants ¶
View Source
const ( Border_Left_Up = "┌" Border_Left_Bottom = "└" Border_Right_Up = "┐" Border_Right_Bottom = "┘" Border_Horizontal = "─" Border_Vertical = "│" Border_T = "┬" Border_Un_T = "┴" Border_Left_Center = "├" Border_Right_Center = "┤" Border_Center = "┼" Reg_Chinese = "^[\u4E00-\u9FA5]+$" Reg_Chinese_Sign = "" /* 130-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func Background ¶ added in v1.2.16
func Background()
func PrintlnFailure ¶ added in v1.2.15
func PrintlnNormal ¶ added in v1.2.15
func PrintlnNormal(left, right string)
Types ¶
type Column ¶ added in v1.1.0
func NewColumnBy ¶ added in v1.1.1
func (*Column) DownBorder ¶ added in v1.1.0
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
func (*Row) DownBorder ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.