Skip to content
Permalink
Browse files

Removing deps

  • Loading branch information...
Depado committed Apr 2, 2019
1 parent 503f763 commit 6f7a1cd228e6f68d9b2d65937ed8c673c2e557a4
Showing with 16 additions and 60 deletions.
  1. +0 −3 conf/file.go
  2. +1 −6 go.mod
  3. +15 −51 go.sum
@@ -9,7 +9,6 @@ import (
"text/template"

"github.com/Depado/projectmpl/utils"
"github.com/davecgh/go-spew/spew"
"github.com/fatih/color"
"gopkg.in/yaml.v2"
)
@@ -86,8 +85,6 @@ func (f *File) ParseFrontMatter() error {
if f.Metadata.Variables != nil && len(*f.Metadata.Variables) > 0 {
utils.OkPrintln("Variables for single file", color.YellowString(f.Path))
f.Metadata.Variables.FillPrompt("", f.Ctx)
spew.Dump(f.Metadata.Variables)

}
return nil
}
7 go.mod
@@ -1,17 +1,16 @@
module github.com/Depado/projectmpl

require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/Netflix/go-expect v0.0.0-20180928190340-9d1f4485533b // indirect
github.com/briandowns/spinner v0.0.0-20190319032542-ac46072a5a91
github.com/coreos/etcd v3.3.12+incompatible // indirect
github.com/dsnet/compress v0.0.1 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/fatih/color v1.7.0
github.com/gliderlabs/ssh v0.1.3 // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/hinshun/vt10x v0.0.0-20180809195222-d55458df857c // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/kr/pty v1.1.4 // indirect
github.com/mattn/go-colorable v0.1.1 // indirect
github.com/mattn/go-isatty v0.0.7 // indirect
@@ -20,16 +19,12 @@ require (
github.com/nwaples/rardecode v1.0.0 // indirect
github.com/pierrec/lz4 v0.0.0-20181005164709-635575b42742 // indirect
github.com/pkg/errors v0.8.1 // indirect
github.com/pkg/profile v1.3.0 // indirect
github.com/sirupsen/logrus v1.4.0
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cobra v0.0.3
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/viper v1.3.2
github.com/stretchr/testify v1.3.0
github.com/ugorji/go/codec v0.0.0-20190320090025-2dc34c0b8780 // indirect
github.com/xanzy/ssh-agent v0.2.1 // indirect
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c // indirect
golang.org/x/net v0.0.0-20190328230028-74de082e2cca // indirect
golang.org/x/sys v0.0.0-20190329044733-9eb1bfa1ce65 // indirect

0 comments on commit 6f7a1cd

Please sign in to comment.
You can’t perform that action at this time.