more nits

This commit is contained in:
Yann Hamon 2020-06-01 12:44:59 +02:00
parent 5ff2d1a037
commit 0ddf4e9a50
5 changed files with 16 additions and 15 deletions

2
pkg/cache/main.go vendored
View file

@ -11,7 +11,7 @@ type SchemaCache struct {
schemas map[string]*gojsonschema.Schema
}
func NewSchemaCache() *SchemaCache {
func New() *SchemaCache {
return &SchemaCache{
schemas: map[string]*gojsonschema.Schema{},
}