GENV - tiny library for convenient use ENV include: github.com/joho/godotenv Example: Init - Convenient init .env file package main import ( "github.com/Alice088/genv" ) func main() { err := genv.Init("./env") if err != nil { ... } id, err := genv.Get("ID") if err != nil { ... } ... } MuGet - Convenient convert type of ENV value to int || bool || []byte package main import ( "fmt" "github.com/Alice088/genv" ) func main() { id, err := genv.MuGet[int]("ID") // ID="..." (string) if err != nil { panic(err) } fmt.Printf("ID: %T", id) //ID: int }