Ran formatter and fixed some lint issues

This commit is contained in:
Stash Dev
2019-02-14 14:53:32 -08:00
parent 14df7b0700
commit 1d00b2b36f
97 changed files with 709 additions and 642 deletions

View File

@@ -4,7 +4,7 @@ import (
"github.com/stashapp/stash/manager/jsonschema"
)
type jsonUtils struct {}
type jsonUtils struct{}
func (jp *jsonUtils) getMappings() (*jsonschema.Mappings, error) {
return jsonschema.LoadMappingsFile(instance.Paths.JSON.MappingsFile)
@@ -44,4 +44,4 @@ func (jp *jsonUtils) getScene(checksum string) (*jsonschema.Scene, error) {
func (jp *jsonUtils) saveScene(checksum string, scene *jsonschema.Scene) error {
return jsonschema.SaveSceneFile(instance.Paths.JSON.SceneJSONPath(checksum), scene)
}
}