爱意满满的作品展示区。
pluvet

Golang 程序员看过来~分享自制控制台 CLI 应用脚手架

  •  1
     
  •   pluvet ·
    pluveto · Feb 3, 2023 · 2451 views
    This topic created in 1205 days ago, the information mentioned may be changed or developed.

    Go CLI Boilerplate

    一个强大的 Golang CLI 应用脚手架,集成了 Logrus 日志工具、命令行参数解析器、toml 配置文件管理器、testify 测试框架、旋转日志、Makefile 交叉编译和打包脚本,以及 Github Action 。

    应该是目前市面上最全的。适用于各种项目。

    完整的 CI/CD ,能够一键 Release ,自动从 commit message 生成 ChangeLog 。Push 时自动运行测试和构建。

    地址: https://github.com/pluveto/go-cli-boilerplate

    使用方法:直接点击 Use this template

    任何建议都欢迎。

    吐槽:不要点 V2EX 收藏了,直接点 Star 收藏(当然,前提是你觉得有价值。拒绝无意义 Star ),V2 的收藏你会看吗(狗头)或者不如直接 Follow 我,这样更新之后你还能知道

    2 replies    2023-02-08 10:58:22 +08:00
    chenpy
        1
    chenpy  
       Feb 7, 2023
    很有用,已 star
    acherkrau
        2
    acherkrau  
       Feb 8, 2023
    看起来确实很方便,star 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2470 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 01:08 · PVG 09:08 · LAX 18:08 · JFK 21:08
    ♥ Do have faith in what you're doing.