From 8eabaa4a5263b07cfc9c654fb3fdd7c82856d4b8 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 18 Oct 2016 11:29:03 -0700 Subject: debugging --- system/db/content.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system') 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 -- cgit v1.2.3