diff options
-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 362f1a5..a44d29d 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.Println(posts) + fmt.Printf("%#v\n", posts) fmt.Println("------------------------NOW SORTED------------------------") // sort posts sort.Sort(posts) - fmt.Println(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 |