This is a Go based command line interface starter app (CLI).
Included:
- Dependency management: Glide
- Testing/Mocking:
gocheck
,testify/mock
,mockery
for generation. - CLI Opts:
flag
(stdlib) orkingpin
for POSIX. - Packaging: cross-compilation and release packaging
Tools:
- Lint with
metalinter
- Coverage with
go-carpet
Clone this project:
$ git clone https://github.com/jondot/go-cli-starter
$ cd go-cli-starter
Setup:
$ make setup
$ make install
Explore:
$ make lint
$ make test
$ make coverage
$ make mocks
$ make watch
Make it your own:
$ make eject
Fork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).
Copyright (c) 2014 Dotan Nahum @jondot. See MIT-LICENSE for further details.