all: gofmt -s
While at it, remove a couple of unused code low-hanging fruit.
Change-Id: Idcca881c8496f7a102ce84f1434dfb1e441b8eb9
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4921
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
diff --git a/encoding/jsonschema/decode.go b/encoding/jsonschema/decode.go
index afa502d..33cb400 100644
--- a/encoding/jsonschema/decode.go
+++ b/encoding/jsonschema/decode.go
@@ -407,7 +407,7 @@
Token: token.ISA,
Value: ast.NewIdent("_"),
Attrs: []*ast.Attribute{
- &ast.Attribute{Text: fmt.Sprintf("@%s(%s)", tag, value)},
+ {Text: fmt.Sprintf("@%s(%s)", tag, value)},
},
}
}