Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ilyakaznacheev
/
cleanenv
Public
Notifications
You must be signed in to change notification settings
Fork
133
Star
2.2k
Code
Issues
35
Pull requests
20
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
All pull requests
New pull request
Search pull requests
is
:
pr
state
:
open
is:pr state:open
Clear filter
Search
Pull requests
Open
20
(20)
Closed
73
(73)
Author
Label
Projects
Milestones
Reviews
Assignee
Sort by
Newest
descending
More items
Comfortable display density
Compact display density
fix: call Setter.SetValue for fields populated from config file
#168
·
toller892
opened
Jun 1, 2026
·
·
1
test: add Godoc examples for env-required, env-separator, env-layout, env-prefix tags
#167
·
SAY-5
opened
May 20, 2026
·
·
1
fix: remove broken ExampleReadEnvWithURL test
#165
·
NikitaBorovikov
opened
Feb 1, 2026
·
·
ReadEnvFrom and UpdateEnvFrom
#163
·
Richtermnd
opened
Nov 5, 2025
·
·
fix(env-parsing): ensure struct pointers are initialized before parsing
#155
·
nbox363
opened
Mar 17, 2025
·
·
fix: add support for nested pointer structs
#154
·
brunql
opened
Feb 24, 2025
·
·
feat: multiple config filepath support.
#149
·
pansachin
opened
Sep 5, 2024
Contributor
·
·
1
.env.* support and possible to check require field after all config loading
#138
·
JohnJ255
opened
Apr 9, 2024
·
·
Creating new method
ReadConfigFS
which allows users to pass use
fs.FS
for loading files
#136
·
Aquarthur
opened
Jan 7, 2024
·
·
1
print the name of the env var when a required var is missing
#131
·
lhopcroft123
opened
Aug 22, 2023
·
·
2
Required description
#129
·
lhopcroft123
opened
Aug 22, 2023
·
·
1
Breaking change. New parsing .env files logic
#127
·
wawan93
opened
Jul 31, 2023
·
·
Refactor error messages for missing variables.
#117
·
rasulov-emirlan
opened
Mar 4, 2023
·
·
FIX: Handle pointers
enhancement
proposal
#111
·
julian-burger-ttd
opened
Jan 5, 2023
·
·
2
Add support of nested struct in map store by pointer
#109
·
abramlab
opened
Dec 20, 2022
·
·
Skip empty value assignment
#92
·
ezh
opened
Jun 5, 2022
·
·
2
Allow structs without public fields to implement Setter
#83
·
urso
opened
Dec 22, 2021
·
·
1
Add functions for prefixed environment variables
#65
·
dkaslovsky
opened
Dec 12, 2020
·
·
2
Updated GetDescription function and ReadEnv.
hacktoberfest-accepted
proposal
#59
·
mashinapetro
opened
Oct 19, 2020
·
·
3
GITHUB-48: Add simple formatted description print
formatting
hacktoberfest-accepted
#56
·
eloo
opened
Oct 2, 2020
·
·
1
3
You can’t perform that action at this time.