Skip to content

Commit 023f6b8

Browse files
committed
Upgrade godotenv module to support multiline vars in .env
Fixes #172 Use another fork to keep up-to-date fix for #59 (waiting for upstream pull request joho/godotenv#227 to be merged)
1 parent 5477ef1 commit 023f6b8

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

go.mod

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/DarthSim/overmind/v2
33
go 1.21
44

55
require (
6-
github.com/DarthSim/godotenv v1.3.1
6+
github.com/joho/godotenv v1.5.1
77
github.com/matoous/go-nanoid v1.5.0
88
github.com/sevlyar/go-daemon v0.1.6
99
github.com/urfave/cli v1.22.12
@@ -16,3 +16,5 @@ require (
1616
github.com/russross/blackfriday/v2 v2.1.0 // indirect
1717
golang.org/x/sys v0.4.0 // indirect
1818
)
19+
20+
replace github.com/joho/godotenv => github.com/Envek/godotenv v0.0.0-20240306122526-83ef30cd3c69

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
2-
github.com/DarthSim/godotenv v1.3.1 h1:NMWdswlRx2M9uPY4Ux8p/Q/rDs7A97OG89fECiQ/Tz0=
3-
github.com/DarthSim/godotenv v1.3.1/go.mod h1:B3ySe1HYTUFFR6+TPyHyxPWjUdh48il0Blebg9p1cCc=
2+
github.com/Envek/godotenv v0.0.0-20240306122526-83ef30cd3c69 h1:qcFwHMDPqNAmrSJZbXUWPJfNl2X3+Y8AWXLC8x9h6jw=
3+
github.com/Envek/godotenv v0.0.0-20240306122526-83ef30cd3c69/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
44
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
55
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
66
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"path"
66
"strings"
77

8-
"github.com/DarthSim/godotenv"
98
"github.com/DarthSim/overmind/v2/start"
9+
"github.com/joho/godotenv"
1010

1111
"github.com/urfave/cli"
1212
)

0 commit comments

Comments
 (0)