generator-go-lang
v1.1.10
Published
A teeny tiny, somewhat opinionated, generator for golang projects
Downloads
65
Maintainers
Readme
A Yeoman Golang Generator
We are very sorry Gophers, but other names for the generator where taken, so we choose
go-lang
. But we havegocreate
as an alias.
Getting Started
We highly recommand to use
nvm
(NVM) to manage your Node versions, and to use the most recent versions
if you have dep for Go package management installed, the generator provides you with an option for that to initialize
First, you have to install yo
, as to use any Yeoman Generator.
npm i -g generator-go-lang
Create your project in the $GOPATH
.
mkdir $GOPATH/src/<username>/your-new_app && cd $_
gocreate
Have fun!
You could also
npm i -g yo
and useyo go-lang
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.