diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-26 12:53:34 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-26 12:53:34 -0700 |
commit | 38cfdbcba06d46718b0b5994ef3eb79e70620724 (patch) | |
tree | 32658de65d61e38c36957931000528521c9b9f34 | |
parent | 54a245a5c4db84db527ae19af6f1f724a16d35d2 (diff) |
debugging
-rw-r--r-- | system/db/content.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/db/content.go b/system/db/content.go index c50706d..a55725a 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -72,6 +72,7 @@ func update(ns, id string, data url.Values) (int, error) { func insert(ns string, data url.Values) (int, error) { var effectedID int + log.Println(ns) err := store.Update(func(tx *bolt.Tx) error { b, err := tx.CreateBucketIfNotExists([]byte(ns)) if err != nil { |