Show HN: A Go module for reading and parsing environment variables

2 points by jk801 8 months ago | 0 comments
EnvX is a module for reading and parsing environment variables in Go.

I decided to create this project as I found myself writing lots of boilerplate code when using os.Getenv extensively in my Go programs.

EnvX is just a type definition of func(string)string with methods for parsing values as different types and dealing with errors and defaults.

I started learning Go earlier this year and this is my first project in Go that I am proud of showing. I hope that others will find it useful.