Tags: joho/godotenv
Tags
Re-add global env variable substitution (#227) Co-authored-by: Stanislau Arsoba <[email protected]>
Multiline string support (#156) * refactor dotenv parser in order to support multi-line variable values declaration Signed-off-by: x1unix <[email protected]> * Add multi-line var values test case and update comment test Signed-off-by: x1unix <[email protected]> * Expand fixture tests to include multiline strings * Update go versions to test against * Switch to GOINSECURE for power8 CI task * When tests fail, show source version of string (inc special chars) * Update parser.go Co-authored-by: Austin Sasko <[email protected]> * Fix up bad merge * Add a full fixture for comments for extra piece of mind * Fix up some lint/staticcheck recommendations * Test against go 1.19 too Signed-off-by: x1unix <[email protected]> Co-authored-by: x1unix <[email protected]> Co-authored-by: Austin Sasko <[email protected]>
Multiline string support (#156) * refactor dotenv parser in order to support multi-line variable values declaration Signed-off-by: x1unix <[email protected]> * Add multi-line var values test case and update comment test Signed-off-by: x1unix <[email protected]> * Expand fixture tests to include multiline strings * Update go versions to test against * Switch to GOINSECURE for power8 CI task * When tests fail, show source version of string (inc special chars) * Update parser.go Co-authored-by: Austin Sasko <[email protected]> * Fix up bad merge * Add a full fixture for comments for extra piece of mind * Fix up some lint/staticcheck recommendations * Test against go 1.19 too Signed-off-by: x1unix <[email protected]> Co-authored-by: x1unix <[email protected]> Co-authored-by: Austin Sasko <[email protected]>
Version 1.2.0 Added in this version: - Added Marshal, Unmarshal, and Write methods to write .env files back to disk (or string) #35 #41 #42 thanks @alexquick - Added Parse(r io.Reader) to read env out of streams #36 thanks @pda - Small parsing fixes #34 thanks @alexquick - Some repository quality of life stuff #33 thanks @crash7
PreviousNext