Skip to content

gogo to generate a golang project based on go-starter

License

Notifications You must be signed in to change notification settings

bingoohuang/gogo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gogo

gogo to generate a golang project based on gostarter

  1. 安装: go get -u -v github.com/bingoohuang/gogo

  2. 使用:

    $ ./gogo -h
    Usage of ./gogo:
    -dir string
        target directory (default ".")
    -disableCache
        disable cache of go-starter project downloading
    -pkg string
        package name, default to last element of target directory
    
    $ ./gogo -dir ../gogotest -disableCache
    gogotest created successfully in ../gogotest!

function:

  1. replacing gostarter to pkg
  2. replacing GOSTARTER to SNAKE_CASE of pkg

About

gogo to generate a golang project based on go-starter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published