table
table copied to clipboard
当输出带颜色字符时,表格错乱
func Green(s string) string {
return fmt.Sprintf("%c[%dm%s%c[0m", 0x1B, 32, s, 0x1B)
}
提个建议: 能不能可选的输出表格四周的线条 "+ - | "等字符