Skip to content

Commit

Permalink
Use renamed godotenv fork to avoid using replace directive in go.mod
Browse files Browse the repository at this point in the history
Fixes #177

See golang/go#44840 for details

Revert to original godotenv after joho/godotenv#227 merged to upstream
  • Loading branch information
Envek committed Mar 26, 2024
1 parent 971b237 commit 7787d5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ module github.com/DarthSim/overmind/v2
go 1.21

require (
github.com/joho/godotenv v1.5.1
github.com/matoous/go-nanoid v1.5.0
github.com/sevlyar/go-daemon v0.1.6
github.com/urfave/cli v1.22.12
golang.org/x/term v0.4.0
)

require (
github.com/Envek/godotenv v0.0.0-20240326021258-e36c8a003587 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
golang.org/x/sys v0.4.0 // indirect
)

replace github.com/joho/godotenv => github.com/Envek/godotenv v0.0.0-20240306122526-83ef30cd3c69
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/Envek/godotenv v0.0.0-20240306122526-83ef30cd3c69 h1:qcFwHMDPqNAmrSJZbXUWPJfNl2X3+Y8AWXLC8x9h6jw=
github.com/Envek/godotenv v0.0.0-20240306122526-83ef30cd3c69/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=
github.com/Envek/godotenv v0.0.0-20240326021258-e36c8a003587 h1:8oTcABPw+30WG+jMYb/uNKgIuIlk2W+GSv9kX+mdkOU=
github.com/Envek/godotenv v0.0.0-20240326021258-e36c8a003587/go.mod h1:byf6gDXuYSvbwm1fZ4B1x40aOLxgcMx1AdF+/UPly/0=
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/DarthSim/overmind/v2/start"
"github.com/joho/godotenv"
"github.com/Envek/godotenv"

"github.com/urfave/cli"
)
Expand Down

0 comments on commit 7787d5c

Please sign in to comment.