module
Version:
v0.0.0-...-d0c8600
Opens a new window with list of versions in this module.
Published: Sep 14, 2022
License: MIT
Opens a new window with license information.
README
¶
Go-Layout-Assistant
快速生成一个全新的Go应用
快速开始
$ go get github.com/invxp/go-layout-assistant
$ cd go-layout-assistant
$ go build -o app cmd/assistant/main.go
$ ./assistant
你能学到
- Go应用工程框架模板
- 良好的编码风格与习惯
- Must/Options等常见Go设计模式
关于main函数(应该做该做的事情)
- 解析启动参数
- 加载应用配置
- 等待应用退出
Directories
¶
|
|
cmd
|
|
|
|
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.