Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 521 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 521 Bytes

Golang 项目的基础模板

使用方式

将项目克隆下来后, 全局替换项目名称为你的项目路径

/app/flag.go 中直接定义命令行参数并绑定


运行示例

使用 Taskfile

task run:start:run

╰─# .local/bin/go-template-mini version run
AppRawName:   go-template-mini
AppVersion:   v0.0.1
Go Version:   go1.23.4
Git Commit:   d8cd98f
Build Time:   2024-12-24 20:06:49 CST
AppProject:   241224-go-template-mini
Developer :   https://yuque.com/lwmacct