apply goimports to the package
diff --git a/jsonContext.go b/jsonContext.go
index 986c042..777d106 100644
--- a/jsonContext.go
+++ b/jsonContext.go
@@ -65,7 +65,3 @@
buf.WriteString(c.head)
}
-
-
-
-
diff --git a/schema.go b/schema.go
index ec4f21a..9d91ef1 100644
--- a/schema.go
+++ b/schema.go
@@ -28,9 +28,10 @@
import (
"errors"
- "github.com/sigu-399/gojsonreference"
"regexp"
"strings"
+
+ "github.com/sigu-399/gojsonreference"
)
type jsonSchema struct {
diff --git a/schemaDocument.go b/schemaDocument.go
index 59abfe6..dbfe999 100644
--- a/schemaDocument.go
+++ b/schemaDocument.go
@@ -29,9 +29,10 @@
import (
"errors"
"fmt"
- "github.com/sigu-399/gojsonreference"
"reflect"
"regexp"
+
+ "github.com/sigu-399/gojsonreference"
)
func NewJsonSchemaDocument(document interface{}) (*JsonSchemaDocument, error) {
diff --git a/schemaPool.go b/schemaPool.go
index 3137d98..66b0e1d 100644
--- a/schemaPool.go
+++ b/schemaPool.go
@@ -29,8 +29,9 @@
import (
"errors"
"fmt"
- "github.com/sigu-399/gojsonreference"
"strings"
+
+ "github.com/sigu-399/gojsonreference"
)
type schemaPoolDocument struct {
diff --git a/types.go b/types.go
index a1aa795..d80431a 100644
--- a/types.go
+++ b/types.go
@@ -25,8 +25,6 @@
package gojsonschema
-import ()
-
const (
KEY_SCHEMA = "$schema"
KEY_ID = "$id"