generator-create-go
v1.1.6
Published
A no frills Yeoman Generator for your next @golang app or library project.
Downloads
7
Maintainers
Readme
A Yeoman Golang Generator
We are very sorry Gophers, but other names for the generator where taken, so we choose
create-go
.
Featured
- Boilerplate for apps and libraries
- task as task runner
- dep as dependency management tool
- VS Code as editor support
- EditorConfig
- Travis
- Boilerplate files (e.g.
README
,TODO
)
Getting Started
First, you have to install yo
, as to use any Yeoman Generator.
npm i -g generator-create-go
Create your project in the $GOPATH
.
mkdir $GOPATH/src/<username>/your-new_app && cd $_
yo create-go <your_app>
you can also omit the app name, it then refers to the current directory
Have fun!
Development
We can highly recommend to consult the Yeoman Guide to write your own Yeoman Generator. Most importantly, to use the generator locally, you have to npm link
the generator.