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

https://github.com/wayneashleyberry/envhunter

envhunter is a static analysis tool for go code that hunts down references to environment variables
https://github.com/wayneashleyberry/envhunter

envconfig getenv go golang static-analysis

Last synced: 4 months ago
JSON representation

envhunter is a static analysis tool for go code that hunts down references to environment variables

Awesome Lists containing this project

README

          

[![Go](https://github.com/wayneashleyberry/envhunter/actions/workflows/go.yml/badge.svg)](https://github.com/wayneashleyberry/envhunter/actions/workflows/go.yml)

> `envhunter` is a static analysis tool for go code that hunts down references to environment variables.

### Installation

```sh
go install github.com/wayneashleyberry/envhunter@latest
```

### Usage

```sh
envhunter ./...
```

### Supported Functions

- [`os.Getenv`](https://pkg.go.dev/os#Getenv)
- [`envconfig.Process`](https://pkg.go.dev/github.com/kelseyhightower/envconfig#Process)
- [`envconfig.MustProcess`](https://pkg.go.dev/github.com/kelseyhightower/envconfig#MustProcess)