common-go

module
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT

README

@barchart/common-go

AWS CodeBuild

A public library of shared GoLang utilities.

Overview
Features
  • Parameters - Pattern for accepting program arguments (e.g. flags, environment, AWS Secrets Manager).
  • Configuration - Pattern for storing configuration data (e.g. database connection).
  • Usage - Utility to print usage (e.g. commands and arguments) for a program.
  • Logger - Basic logging strategy.
Development
Install Dependencies

Run go mod download to install dependencies.

Run Unit Tests

Run make test-v to execute unit tests.

Release New Code
  • Add a new file for release notes to the ./releases folder,
  • Create a new tag, using the ./tag.sh script, and
  • Create a GitHub Release, using the aforementioned release notes.
License

This software is provided under the MIT license.

Jump to

Keyboard shortcuts

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