Produces a string that represents slice data in a text table, inspired by gajus/table.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
qinya0 opened this issue 4 years ago · comments
func Green(s string) string { return fmt.Sprintf("%c[%dm%s%c[0m", 0x1B, 32, s, 0x1B) }
提个建议: 能不能可选的输出表格四周的线条 "+ - | "等字符