modood / table Goto Github PK
View Code? Open in Web Editor NEWProduces a string that represents slice data in a text table, inspired by gajus/table.
License: MIT License
Produces a string that represents slice data in a text table, inspired by gajus/table.
License: MIT License
如果字符中包含 ℃
,则打印输出会出现表格错位。
GoVersion : go1.9,windows下
我使用你的原例子,多出来一个空列
┌────┬────────────────────────────────┬───────────┬─────────────┬────────────────────────────────────────┬─────────────┬─────────────────────────────────────────────────────────────┐
│ Id │ Name │ Region_Id │ Region_Type │ Flavor │ Image │ Elastic_Info │
├────┼────────────────────────────────┼───────────┼─────────────┼────────────────────────────────────────┼─────────────┼─────────────────────────────────────────────────────────────┤
│ 1 │ np-8Core8192MB50GB-cgsl1.1_522 │ 1 │ IaaS │ {NAME:8C8G50G VALUE:8Core/50GB/8192MB} │ cgsl1.1_522 │ {MAX_NUM:0 MIN_NUM:10 UPPER_LIMIT:1 LOWER_LIMIT:1 STEP:100} │
│ 2 │ default_np │ 1 │ IaaS │ {NAME:4c4g60g VALUE:4Core/60GB/4096MB} │ cgsl1.1_522 │ {MAX_NUM:0 MIN_NUM:10 UPPER_LIMIT:1 LOWER_LIMIT:1 STEP:100} │
└────┴────────────────────────────────┴───────────┴─────────────┴────────────────────────────────────────┴─────────────┴─────────────────────────────────────────────────────────────┘
当一行内容稍多的时候,会窜行。这个有没有办法解决?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.