diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-18 11:31:06 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-18 11:31:06 -0700 |
commit | 5737b4634a2f8be5bf9ac1f709f2f344b9bb2f0f (patch) | |
tree | eea7d853bcc408df59652bfe67ca4d660c6a0fc2 | |
parent | 8eabaa4a5263b07cfc9c654fb3fdd7c82856d4b8 (diff) |
debugging
-rw-r--r-- | system/db/content.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/db/content.go b/system/db/content.go index a44d29d..5eeb6c8 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -222,13 +222,13 @@ func SortContent(namespace string) { posts = append(posts, post.(editor.Sortable)) } - fmt.Printf("%#v\n", posts) + fmt.Printf("%v\n", posts) fmt.Println("------------------------NOW SORTED------------------------") // sort posts sort.Sort(posts) - fmt.Printf("%#v\n", posts) + fmt.Printf("%v\n", posts) // one by one, encode to json and store as // store in __sorted bucket inside namespace bucket, first delete existing |