generator-go-lang

A teeny tiny, somewhat opinionated, generator for golang projects

Usage no npm install needed!

<script type="module">
  import generatorGoLang from 'https://cdn.skypack.dev/generator-go-lang';
</script>

README

Taylor Swift Volkswagen Build Status MIT license

A Yeoman Golang Generator

We are very sorry Gophers, but other names for the generator where taken, so we choose go-lang. But we have gocreate 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 use yo 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.

License

MIT