env
🔍 Load environment variables into a config struct (by go-simpler)
new
A helper function to create a pointer to a new object in Go 1.18+ (by earthboundkid)
Our great sponsors
env | new | |
---|---|---|
3 | 5 | |
53 | 55 | |
- | - | |
7.1 | 0.0 | |
10 days ago | over 2 years ago | |
Go | Go | |
Mozilla Public License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
env
Posts with mentions or reviews of env.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-15.
-
Share Your Code.. Share your most unique piece of Go code.
Yet another config loader I've built for 12factor apps: https://github.com/junk1tm/env
- 'Discoverable' Environment Variables for Configuration
- A lightweight package for loading environment variables into structs
new
Posts with mentions or reviews of new.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-25.
-
Have yet to use generics...Am I missing out?
Yeah, I have a joke package that does this: https://github.com/carlmjohnson/new
- Share Your Code.. Share your most unique piece of Go code.
- Fun with generics 3: Pointer of value with generics
- Generic fun: new.Of - A helper function to create a pointer to a new object in Go 1.18+
- More fun with Go generics: A new.Of() helper function
What are some alternatives?
When comparing env and new you can also consider the following projects:
env-vault - Launch a program with environment variables populated from an encrypted file
pointer - Go package pointer provides helpers to get pointers to values of built-in types.
pcre - Pure-Go port of the PCRE2 regular expression engine.
spidy - Domain names collector - Crawl websites and collect domain names along with their availability status.
dgo - Efficient, error-free and high-level library for Dart <-> Go interops.
blockscan - a mini blockchain scanner
qcl - QCL: Quick Config Loader
config - loads configuration settings from various sources into your struct
env - A simple and zero-dependencies library to parse environment variables into structs
stringdedup - String deduplication package for Go