Skip to content
Snippets Groups Projects
Commit d0cc7150 authored by Ken Brooks's avatar Ken Brooks
Browse files

ordering imports, putting version back as a var instead of const

parent 8f23de46
Branches
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment