An open API service indexing awesome lists of open source software.

https://github.com/flow-lab/utils

Go utils
https://github.com/flow-lab/utils

Last synced: 5 months ago
JSON representation

Go utils

Awesome Lists containing this project

README

          

# utils [![Go](https://github.com/flow-lab/utils/actions/workflows/go.yml/badge.svg)](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)