我在Go语言中的第一个项目是一个终端仪表板(真是个有趣的编程语言)。

4作者: vinserello6 个月前原帖
刚刚完成了我的第一个Go项目,哇,这门语言真不错。我是一名Web开发者,但我学习过C和C++:Go给我的感觉就像是聪明、简约的表亲,去掉了多余的部分,却保留了强大的功能。 - 编译速度瞬间 - 语法简洁且可预测 - 工具链简直是完美(例如,go run) 为了试水,我做了一个有趣的项目: Datacmd是一个命令行工具,可以通过一个命令将CSV/JSON/API数据转换成美观的终端仪表板。 没有图形用户界面。纯粹的终端魔法: ``` datacmd --generate --source=data.csv ``` 支持饼图、仪表、表格、实时系统指标,并且是基于termdash构建的。 我发现termdash缺少饼图、表格和雷达图,所以我尝试自己实现了一下。 GitHub: github.com/VincenzoManto/datacmd 欢迎反馈和提交PR(可能有很多bug),我希望将这个工具发展成为终端开发者的首选工具。
查看原文
Just wrapped up my first Go project and wow, what a language. I&#x27;m a WebDev but I studied both C and C++: Go feels like the smart, minimalist cousin that cuts the fluff but keeps the power.<p>- Compilation is instant - Syntax is clean and predictable - The tooling is chef&#x27;s kiss (go run for example)<p>To test the waters, I built something fun:<p>Datacmd that is a CLI tool that turns CSV&#x2F;JSON&#x2F;API data into beautiful terminal dashboards with a single command.<p>No GUI. Just pure terminal magic:<p>datacmd --generate --source=data.csv Supports pie charts, gauges, tables, live system metrics, and it&#x27;s built on top of termdash.<p>I see termdash was missing pie charts, tables and radar chart, so I tried implementing myself.<p>GitHub: github.com&#x2F;VincenzoManto&#x2F;datacmd Feedback and PRs welcome (probably there a lot of bugs), I’d love to grow this into a go-to tool for devs who live in the terminal.