README ¶ goinit Go project init tool Install $ go get github.com/msmsny/goinit Usage $ goinit -help Usage of /path/to/bin/goinit: -cmd-dir string cobra command code directory (default "pkg/cmd") -name string main command name(required) -repo string path to repo, e.g.: github.com/msmsny/goinit (default "github.com/msmsny/goinit") -sub string sub command name $ goinit -name foo $ tree . ├── cmd │ └── foo │ └── foo.go └── pkg └── cmd ├── foo │ └── foo.go └── options └── options.go $ goinit -name foo -sub bar $ tree . ├── cmd │ └── foo │ └── foo.go └── pkg └── cmd ├── bar │ └── bar.go ├── foo │ └── foo.go └── options └── options.go Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis goinit statik Click to show internal directories. Click to hide internal directories.