From 13f56213f29e1bebfff02d396df03d2ba7d89af9 Mon Sep 17 00:00:00 2001 From: Radu Topala Date: Wed, 11 Sep 2019 16:54:25 +0300 Subject: [PATCH 1/2] moved file templates to text/template --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.go b/utils.go index 15fd64a..87adc28 100644 --- a/utils.go +++ b/utils.go @@ -6,7 +6,7 @@ import ( "fmt" "github.com/fatih/color" "github.com/satori/go.uuid" - "html/template" + "text/template" "io/ioutil" "os" "path" From 02c96e80b3fe9a2303d10901cb4fd49c19d78619 Mon Sep 17 00:00:00 2001 From: Radu Topala Date: Wed, 11 Sep 2019 17:02:39 +0300 Subject: [PATCH 2/2] go fmt --- go.mod | 2 ++ utils.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 7999383..799d4c7 100644 --- a/go.mod +++ b/go.mod @@ -11,3 +11,5 @@ require ( golang.org/x/sys v0.0.0-20161214190518-d75a52659825 // indirect gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect ) + +go 1.13 diff --git a/utils.go b/utils.go index 87adc28..963078a 100644 --- a/utils.go +++ b/utils.go @@ -6,13 +6,13 @@ import ( "fmt" "github.com/fatih/color" "github.com/satori/go.uuid" - "text/template" "io/ioutil" "os" "path" "reflect" "regexp" "strings" + "text/template" ) // Cd is a remote helper function that runs a `cd` before a command