module
Version:
v1.4.1
Opens a new window with list of versions in this module.
Published: May 26, 2021
License: MIT
Opens a new window with license information.
README
¶
@barchart/common-go
![AWS CodeBuild](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiQnBnNGc5M3B3ZTlTMER2aHl6bEJuV1huQmJQdFFVdTMrMFJOMzVEMjU0MGR5VUZkNVVTcm54VVlpTUpNN2R3emg2SVoxNWsrc1BReE1zSmdZazZuN0l3PSIsIml2UGFyYW1ldGVyU3BlYyI6IkpCZEJOcVY1c2lYWW9XZTUiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)
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.
Directories
¶
examples
|
|
|
|
|
|
|
|
|
|
pkg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Package flags is a wrapper for the default flag package. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.