Loading repository data…
Loading repository data…
bench / repository
A Yeoman generator to scaffold a simple golang application
A Yeoman generator for the golang programming language.
See the Golang documentation
The Golang team defined guidelines to organize code and structure an application.
The generator builds a standard directory hierarchy complying with those guidelines.
$ npm install -g yo
$ npm install generator-go
$ yo go
That's all folks !
This will generate a minimalist directory hierarchy, a makefile and a .gitignore in your $GOPATH folder.
Once built, you can run your application
$ make run
Compile sources and build binary
$ make install
Run all tests
$ make test
And clean up the binary
$ make clean
Fork the project
Clone your forked project locally
$ git clone https://github.com/your_repo/generator-go.git
$ cd generator-go
Modify sources
Symlink the package folder
$ sudo npm link
$ yo go
This project welcomes all contributors, feel free to apply !
This project depends on