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
- Host: GitHub
- URL: https://github.com/wayneashleyberry/envhunter
- Owner: wayneashleyberry
- License: mit
- Created: 2021-12-14T16:41:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-25T10:10:31.000Z (over 3 years ago)
- Last Synced: 2024-06-20T06:35:25.923Z (almost 2 years ago)
- Topics: envconfig, getenv, go, golang, static-analysis
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](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)