{"id":67006,"library":"compose-spec-godotenv","title":"GoDotEnv","description":"A Go port of the Ruby dotenv library for loading environment variables from .env files.","status":"active","version":"1.3.0","language":"go","source_language":null,"source_url":"https://github.com/compose-spec/godotenv","tags":["dotenv","environment","configuration","compose"],"install":[{"cmd":"go get github.com/compose-spec/godotenv","lang":"bash","label":"Install github.com/compose-spec/godotenv"}],"dependencies":[],"imports":[{"symbol":"godotenv","correct":"github.com/compose-spec/godotenv"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\t\"github.com/compose-spec/godotenv\"\n)\n\nfunc main() {\n\tgodotenv.Load()\n\tfmt.Println(os.Getenv(\"MY_VAR\"))\n}","lang":"go","description":"Load environment variables from a .env file."},"warnings":[],"env_vars":null,"search_vec":"'compos':20 'configur':19 'dotenv':8,17 'env':15 'environ':12,18 'file':16 'go':3 'godotenv':1 'librari':9 'load':11 'port':4 'rubi':7 'variabl':13","created_at":"2026-06-17T17:31:38.374952+00:00","updated_at":"2026-06-17T17:31:38.374952+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/compose-spec/godotenv","github":"https://github.com/compose-spec/godotenv","docs":"https://pkg.go.dev/github.com/compose-spec/godotenv#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["config"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}