handle .env files

This commit is contained in:
AJ ONeal 2020-09-28 03:56:51 -06:00
parent 4738002791
commit 19e54963ae
5 changed files with 11 additions and 0 deletions

2
.gitignore vendored
View File

@ -1,6 +1,8 @@
*_vfsdata.go
/gitdeploy
/git-deploy
*.env
.env
node_modules/
dist/

1
go.mod
View File

@ -4,6 +4,7 @@ go 1.15
require (
github.com/go-chi/chi v4.1.2+incompatible
github.com/joho/godotenv v1.3.0
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546
golang.org/x/tools v0.0.0-20200925191224-5d1fdd8fa346 // indirect

2
go.sum
View File

@ -1,5 +1,7 @@
github.com/go-chi/chi v4.1.2+incompatible h1:fGFk2Gmi/YKXk0OmGfBh0WgmN3XB8lVnEyNz34tQRec=
github.com/go-chi/chi v4.1.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=
github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 h1:bUGsEnyNbVPw06Bs80sCeARAlK8lhwqGyi6UT8ymuGk=
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 h1:pXY9qYc/MP5zdvqWEUH6SjNiu7VhSjuVFTFiTcphaLU=

View File

@ -9,8 +9,10 @@ import (
"time"
"git.ryanburnette.com/ryanburnette/git-deploy/assets"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
_ "github.com/joho/godotenv/autoload"
)
var (

4
vendor/modules.txt vendored
View File

@ -2,6 +2,10 @@
## explicit
github.com/go-chi/chi
github.com/go-chi/chi/middleware
# github.com/joho/godotenv v1.3.0
## explicit
github.com/joho/godotenv
github.com/joho/godotenv/autoload
# github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749
## explicit
github.com/shurcooL/httpfs/vfsutil