# caarlos0/env

> A simple, zero\-dependencies library to parse environment variables into structs

Canonical: https://starboard.codevetter.com/explore/caarlos0/env

[Back to Discover](https://starboard.codevetter.com/discover)

![caarlos0](https://avatars.githubusercontent.com/u/245435?v=4&s=40)

caarlos0

# env

[View on GitHub
](https://github.com/caarlos0/env)

A simple, zero\-dependencies library to parse environment variables into structs

config
configuration
environment
environment\-variables
go
golang
hacktoberfest


6\.4k stars

Go

Updated 1d ago

Created Jul 28, 2015

## Star history

\+199 stars
3\.2% growth


## Detected tools

No detected tools yet\.

## Similar projects

[![joho](https://avatars.githubusercontent.com/u/4092?v=4&s=24)

joho/ godotenv

A Go port of Ruby's dotenv library \(Loads environment variables from \.env files\)

Go 11k 67%](https://starboard.codevetter.com/explore/joho/godotenv)[![google](https://avatars.githubusercontent.com/u/1342004?v=4&s=24)

google/ go\-github

Go library for accessing the GitHub v3 API

Go 11k 63%](https://starboard.codevetter.com/explore/google/go-github)[![wazero](https://avatars.githubusercontent.com/u/120146977?v=4&s=24)

wazero/ wazero

wazero: the zero dependency WebAssembly runtime for Go developers

Go 6\.5k 66%](https://starboard.codevetter.com/explore/wazero/wazero)[![avelino](https://avatars.githubusercontent.com/u/31996?v=4&s=24)

avelino/ awesome\-go

A curated list of awesome Go frameworks, libraries and software

Go 195k 63%](https://starboard.codevetter.com/explore/avelino/awesome-go)[![urfave](https://avatars.githubusercontent.com/u/19274464?v=4&s=24)

urfave/ cli

A declarative, simple, fast, and fun package for building command line tools in Go

Go 24k 67%](https://starboard.codevetter.com/explore/urfave/cli)[![moby](https://avatars.githubusercontent.com/u/27259197?v=4&s=24)

moby/ buildkit

concurrent, cache\-efficient, and Dockerfile\-agnostic builder toolkit

Go 10k 64%](https://starboard.codevetter.com/explore/moby/buildkit)[![gobwas](https://avatars.githubusercontent.com/u/675117?v=4&s=24)

gobwas/ ws

A tiny WebSocket library for Go\.

Go 6\.5k 63%](https://starboard.codevetter.com/explore/gobwas/ws)[![samber](https://avatars.githubusercontent.com/u/2951285?v=4&s=24)

samber/ lo

💥  A Lodash\-style Go library based on Go 1\.18\+ Generics \(map, filter, contains, find\.\.\.\)

Go 21k 63%](https://starboard.codevetter.com/explore/samber/lo)
