John Barton
cc9e9b7de7
Multiline string support ( #156 )
...
* refactor dotenv parser in order to support multi-line variable values declaration
Signed-off-by: x1unix <denis0051@gmail.com>
* Add multi-line var values test case and update comment test
Signed-off-by: x1unix <denis0051@gmail.com>
* 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 <austintyler0239@yahoo.com>
* 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 <denis0051@gmail.com>
Co-authored-by: x1unix <denis0051@gmail.com>
Co-authored-by: Austin Sasko <austintyler0239@yahoo.com>
2023-01-27 13:14:16 +11:00
2tef
0f21d20acb
fix tiny details ( #199 )
...
* remove empty line
* remove unnecessary assignments
following commit 2ed25fcb28
.
2023-01-27 13:01:43 +11:00
John Barton
5c76d3e02c
Add punctuation to please godoc ( #197 )
...
Fixes issue reported over at https://github.com/golang/go/issues/55888
2022-10-30 12:38:35 +11:00
Doarakko
85a2237126
sort go import in readme ( #193 )
2022-09-12 16:55:41 +10:00
John Barton
add39c6f94
Remove power8 again as it wasn't fixed
2022-06-12 15:47:52 +12:00
John Barton
1b6c7eb7cc
README updates around contributing
2022-06-12 15:47:37 +12:00
Elliot Murphy
b898a8b0d1
Add darwin arm64 build ( #174 )
...
* Add darwin arm64 build
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
* update url for go version
Signed-off-by: Elliot Murphy <statik@users.noreply.github.com>
Co-authored-by: John Barton <jb@johnbarton.co>
2022-06-12 15:43:35 +12:00
dependabot[bot]
60df7dd66c
Bump actions/setup-go from 2 to 3 ( #185 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-12 15:40:02 +12:00
dependabot[bot]
aa20cd96bb
Bump actions/checkout from 2 to 3 ( #184 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-12 15:16:09 +12:00
John Barton
a904479007
Create codeql-analysis.yml ( #186 )
2022-06-12 15:09:09 +12:00
John Barton
a582f0c9d3
Remove renovate, add dependabot ( #183 )
2022-06-12 15:04:14 +12:00
Bahtiyar Biksayev
26b87a7e2c
Update README for go install post go 1.17 ( #170 )
...
* tune README
* tune
2022-06-12 14:06:04 +12:00
John Barton
76d246ae25
Add a few new go versions
2022-06-12 13:57:20 +12:00
John Barton
139777a9ff
remove power8 tests as they stopped working
2022-06-12 13:56:53 +12:00
Oleksandr Redko
e74c6cadd5
Fix typos in comments and extend README ( #177 )
2022-04-25 14:35:55 +10:00
John Barton
c40e9c6392
Fix CI for power8 arch ( #157 )
2021-09-24 21:38:50 +10:00
Alexander Klein
ddf83eb33b
Add missing newline to created env files ( #133 )
2021-03-04 20:35:31 +11:00
renovate[bot]
f562099a43
Add renovate.json ( #124 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-11 15:36:58 +11:00
John Barton
c49ef66cd3
Fix release name
2020-11-11 15:35:55 +11:00
John Barton
c142d16052
Try a different github action
2020-11-11 15:30:39 +11:00
John Barton
4e2d182c9a
Add action to publish binaries on each release ( #125 )
2020-11-11 15:15:18 +11:00
John Barton
65218afbaa
Add a go.mod file ( #123 )
2020-11-11 14:54:56 +11:00
John Barton
aa035a1808
Non amd tests ( #122 )
...
* Add non-amd64 tests
* Try shifting env around
* Update input to match action
* Include git
* Comment out IBM Z for now and quieten apt-get
2020-11-11 12:54:49 +11:00
John Barton
23296b91aa
Merge pull request #121 from joho/github-actions
...
Setup GitHub actions for CI
2020-11-11 11:33:11 +11:00
John Barton
e57c08db27
Add CI badge to readme
2020-11-11 11:31:34 +11:00
John Barton
573e9186b2
Matrix test across mac/win/linux
2020-11-11 11:24:40 +11:00
John Barton
5451d82b77
Add Barebones github actions test
2020-11-11 11:19:52 +11:00
John Barton
0da8ce72f0
Merge pull request #115 from adombeck/master
...
Fix typo
2020-11-08 12:01:29 +11:00
John Barton
3e4069b9b2
Merge pull request #109 from mniak/pr
...
Write ints without quotes
2020-11-08 11:58:27 +11:00
John Barton
a4d9cf1d6d
Merge pull request #120 from santosh653/master
...
PR_AddingPowerSupport_golang-github-joho-godotenv
2020-10-16 06:51:22 +11:00
santosh653
7fbe752d59
Update .travis.yml
...
adding power support.
2020-10-15 02:09:51 -04:00
santosh653
46ee0dcae8
Update .travis.yml
...
Adding arch: amd64
2020-10-15 00:58:50 -04:00
adombeck
bc7d5cd181
Fix typo
2020-09-04 23:35:59 +02:00
Andre Soares
6e653f9adf
add newline back
2020-06-26 15:39:50 -03:00
Andre Soares
fccdfd265d
Fix package name
2020-06-26 15:39:06 -03:00
Andre Soares
f4e7418908
Remove go.mod
2020-06-26 15:36:35 -03:00
Andre Soares
63ea8bf09b
Change package name back to joho/godotenv
2020-06-26 15:35:47 -03:00
Andre Soares
29b5be9cdc
Rename and implement int-able without quotes
2020-06-26 15:22:04 -03:00
John Barton
d6ee6871f2
Merge pull request #95 from orxobo/Write-adjustment
...
Fixed Write bugs
2020-03-02 07:46:15 +11:00
orxobo
dbcf4b53b8
Fixed Write bugs
...
This should address a fix #93 and #94
This has not been addressed in any tests.
2020-02-11 17:05:34 +10:00
John Barton
b09de681dc
Merge pull request #90 from djherbis/master
...
#89 move regexp.MustCompile to globals
2019-10-21 07:25:22 +11:00
Dustin H
992ab0ec47
#89 move regexp.MustCompile to globals
2019-10-18 10:35:15 -04:00
John Barton
5c0e6c6ab1
Merge pull request #69 from hairyhenderson/ignore-leading-whitespace
...
Fixing a couple whitespace bugs: ignoring leading whitespace, and supporting more kinds of empty lines
2019-02-04 15:41:09 +11:00
John Barton
61baafa627
Merge branch 'master' into ignore-leading-whitespace
2019-02-04 15:28:23 +11:00
John Barton
823f94bb9a
Merge pull request #70 from hairyhenderson/support-keys-beginning-with-export-66
...
Support key names beginning with 'export'
2019-02-04 15:26:24 +11:00
Dave Henderson
263a1dda9d
Support key names beginning with 'export'
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2019-02-03 23:11:51 -05:00
Dave Henderson
79711eebaf
Ignoring leading whitespace
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2019-02-03 22:39:38 -05:00
John Barton
69ed1d913a
Merge pull request #63 from mdanzinger/patch-1
...
Update cmd.go
2018-11-21 06:47:48 +11:00
John Barton
2841430efc
An even tinier grammar fix
...
I read `.env` aloud as dotenv so the A makes sense.
2018-11-21 06:41:23 +11:00
Mendy Danzinger
5917dd2291
Update cmd.go
...
Tiny little grammatical error.
2018-11-20 13:25:32 -05:00