Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Mon, 17 Apr 2017 14:28:00 +0000 Go helpers to manage environment variables #environment <div class="repository-meta mb-0 js-repo-meta-edit js-details-container"><div class="repository-meta-content col-11 mb-1"><span class="col-11 text-gray-dark mr-2" itemprop="about">Go library to manage environment variables :</div><div class="repository-meta-content col-11 mb-1"><br></div><div class="repository-meta-content col-11 mb-1">This library is made up of two parts :<br></div><div class="repository-meta-content col-11 mb-1"><span class="col-11 text-gray-dark mr-2" itemprop="about"><ul style="box-sizing: border-box; padding-left: 2em; margin-top: 0px; margin-bottom: 16px; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, " segoe="" ui",="" helvetica,="" arial,="" sans-serif,="" "apple="" color="" emoji",="" "segoe="" ui="" symbol";="" font-size:="" 16px;"=""><li style="box-sizing: border-box;">Env object : it wraps your environments variables in an object and provides convenient helpers.</li><li style="box-sizing: border-box; margin-top: 0.25em;">Env tree object : through this helper you can parse and manage your environment variables in a tree like you would do to manage a configuration in a yaml file.</li> </ul></div><span class="edit-link"><button type="button" class="btn btn-sm float-right js-details-target js-edit-repo-meta-button js-edit-repo-meta-toggle" style="font-weight: 600; font-size: 12px; line-height: 20px; text-transform: none; position: relative; padding: 3px 10px; white-space: nowrap; vertical-align: middle; user-select: none; background-repeat: repeat-x; background-position: -1px -1px; background-size: 110% 110%; border-width: 1px; border-style: solid; border-color: rgba(27, 31, 35, 0.2); border-radius: 0.25em; color: rgb(36, 41, 46); background-color: rgb(239, 243, 246); background-image: linear-gradient(-180deg, rgb(250, 251, 252) 0%, rgb(239, 243, 246) 90%); float: right !important;">Edit</button></div><div class="mb-3 repository-topics-container js-repository-topics-container js-details-container"><div id="topics-list-container" data-url="/antham/envh/settings/topics"><div class="list-topics-container f6 mt-1"></div></div></div> 7 points posted by antham https://github.com/antham/envh 2089 Sat, 15 Apr 2017 18:11:00 +0000