https://github.com/flow-lab/utils
Go utils
https://github.com/flow-lab/utils
Last synced: 5 months ago
JSON representation
Go utils
- Host: GitHub
- URL: https://github.com/flow-lab/utils
- Owner: flow-lab
- License: mit
- Created: 2023-02-22T22:45:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T11:54:10.000Z (about 2 years ago)
- Last Synced: 2024-06-19T11:52:11.203Z (about 2 years ago)
- Language: Go
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# utils [](https://github.com/flow-lab/utils/actions/workflows/go.yml)
Go utils. This package contains some useful functions. It is used in other packages of the flow-lab org.
## Installation
```shell
# Install the package
go get github.com/flow-lab/utils
# Import in the project
import utils "github.com/flow-lab/utils"
# Use it
envVar := utils.EnvOrDefault("ENV_VAR", "default_value")
```
License [MIT](LICENSE)