From d0cc715087dcac6a6ab7912e8e55677a05bcaaeb Mon Sep 17 00:00:00 2001 From: Ken Brooks <kenneth.s.brooks@chase.com> Date: Sat, 21 Mar 2020 15:51:17 -0400 Subject: [PATCH] ordering imports, putting version back as a var instead of const --- main.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/main.go b/main.go index f7f2f31..8eb9626 100644 --- a/main.go +++ b/main.go @@ -11,20 +11,16 @@ import ( "os" "path/filepath" "runtime" - "github.com/ghodss/yaml" "strings" "sync" + "github.com/ghodss/yaml" "github.com/mitchellh/go-homedir" "github.com/xeipuuv/gojsonschema" - -) - -const ( - version = "v1.1.0" ) var ( + version = "undefined" schemaFlag = flag.String("s", "", "primary JSON schema to validate against, required") quietFlag = flag.Bool("q", false, "quiet, only print validation failures and errors") versionFlag = flag.Bool("v", false, "print version and exit") -- GitLab