golang-cli-template

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 2 Imported by: 0

README

golang-cli-template

A general purpose project template for golang CLI applications

Test golangci-lint Go Report Card Go Reference

This template servers as a starting point for golang commandline applications based on project-layout

Features

Project Layout

  • assets/ => docs, images, etc
  • cmd/ => commandline configurartions (flags, subcommands)
  • pkg/ => packages that are okay to import for other projects
  • internal/ => packages that are only for project internal purposes

Makefile Targes

format

make fmt

formatcheck

make fmtcheck

build

make build

test

make test

cover

make cover

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL