...

Source file src/github.com/joho/godotenv/autoload/autoload.go

Documentation: github.com/joho/godotenv/autoload

     1  package autoload
     2  
     3  /*
     4  	You can just read the .env file on import just by doing
     5  
     6  		import _ "github.com/joho/godotenv/autoload"
     7  
     8  	And bob's your mother's brother
     9  */
    10  
    11  import "github.com/joho/godotenv"
    12  
    13  func init() {
    14  	godotenv.Load()
    15  }
    16  

View as plain text