command
module
Version:
v0.0.0-...-ac7fa38
Opens a new window with list of versions in this module.
Published: Dec 3, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
使用方式
1. go install
go install github.com/chnls/ginctl
2. source
-
生成命令二进制文件
go build .
-
将二进制文件放入$GOPATH/bin目录
-
使用命令生成模块文件
ginctl init your_project [mod_name.com]
ginctl new [-di -u username] demo [pkgName]
参数解析:
-di: 注入依赖方式,google/wire,默认不使用
-u: 文件创建人
demo 生成模块
pkgName: 包名,不指定默认模块名
ginctl new -h
for help
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.