VOL-1577 - General cleanup (gofmt, go vet, go test, dep check)
Change-Id: I536b2746b8bd266f3e75aeccc65bfe7468f1b44a
diff --git a/db/model/root.go b/db/model/root.go
index 7a29c0b..338ef67 100644
--- a/db/model/root.go
+++ b/db/model/root.go
@@ -181,7 +181,6 @@
r.Proxy.ParentNode.Latest(txid).Finalize(false)
}
-
// Update modifies the content of an object at a given path with the provided data
func (r *root) Update(path string, data interface{}, strict bool, txid string, makeBranch MakeBranchFunction) Revision {
var result Revision
@@ -310,6 +309,6 @@
}
type rootData struct {
- Latest string `json:latest`
- Tags map[string]string `json:tags`
-}
\ No newline at end of file
+ Latest string `json:"latest"`
+ Tags map[string]string `json:"tags"`
+}