Hacker News new | ask | show | jobs
by pulkitsh1234 2213 days ago
I wrote a Go CLI Boilerplate sometime back: https://github.com/pulkitsharma07/go-cli-boilerplate, it addresses some common issue which I faced while developing a full-fledged CLI.

Features (From Readme):

* Unit and Integration test structure for the CLI

* Opinionated directory structure for organizing code for commands.

* Docker-based cross-platform build pipeline

* Travis CI-based release workflow

* Makefile for common tasks like generating documentation and building the binary.