ginctl

command module
v0.0.0-...-ac7fa38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2023 License: MIT Imports: 14 Imported by: 0

README

使用方式

1. go install

go install github.com/chnls/ginctl

2. source

  1. 生成命令二进制文件

    go build .
    
  2. 将二进制文件放入$GOPATH/bin目录

  3. 使用命令生成模块文件

     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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL