Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barchart/common-go
Public library of utilities for GoLang
https://github.com/barchart/common-go
go go-module golang public-repository utilities
Last synced: 11 days ago
JSON representation
Public library of utilities for GoLang
- Host: GitHub
- URL: https://github.com/barchart/common-go
- Owner: barchart
- License: other
- Created: 2020-04-13T14:56:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T08:35:07.000Z (over 1 year ago)
- Last Synced: 2024-06-21T09:37:58.622Z (5 months ago)
- Topics: go, go-module, golang, public-repository, utilities
- Language: Go
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @barchart/common-go
[![AWS CodeBuild](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiQnBnNGc5M3B3ZTlTMER2aHl6bEJuV1huQmJQdFFVdTMrMFJOMzVEMjU0MGR5VUZkNVVTcm54VVlpTUpNN2R3emg2SVoxNWsrc1BReE1zSmdZazZuN0l3PSIsIml2UGFyYW1ldGVyU3BlYyI6IkpCZEJOcVY1c2lYWW9XZTUiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)](https://github.com/barchart/common-go)
A *public* library of shared [GoLang](https://golang.org/) utilities.
### Overview#### Features
* [Parameters](./pkg/parameters) - Pattern for accepting program arguments (e.g. flags, environment, AWS Secrets Manager).
* [Configuration](./pkg/configuration) - Pattern for storing configuration data (e.g. database connection).
* [Usage](./pkg/usage) - Utility to print usage (e.g. commands and arguments) for a program.
* [Logger](./pkg/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](https://github.com/barchart/common-go/releases), using the aforementioned release notes.### License
This software is provided under the MIT license.