---
title: "Discussion on \"Access Environment Variables in Go\" | Hashnode"
description: "Discussion on \"Access Environment Variables in Go\". Environment variables are an easy way to pass configuration settings to your program. This allows you to not store sensitive config settings like database passwords or API keys in your code or local files. This is the way Heroku passes any configurat..."
url: "https://hashnode.com/posts/access-environment-variables-in-go/622df81adf08b9b823419021"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Access Environment Variables in Go](https://progolang.dev/access-environment-variables-in-go?utm_source=hashnode&utm_medium=feed)

Environment variables are an easy way to pass configuration settings to your program. This allows you to not store sensitive config settings like database passwords or API keys in your code or local files. This is the way Heroku passes any configurat...

Dec 5, 2018 · 2 min read · progolang.dev  
Read the article

## Written by

[Srinivasan Rangarajan](https://hashnode.com/@cnu)

@cnu

  
[View profile](https://hashnode.com/@cnu)

Entre+gineer

Software Engineer with an entrepreneurship gene. Love talking about code, products, UI/UX and how to build startups.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
