From 1edea47f6c0cbda3f1fe963fc7946b4a89f55a03 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 18 Oct 2016 12:51:14 -0700 Subject: debugging --- system/db/content.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/db') diff --git a/system/db/content.go b/system/db/content.go index 5e0a1df..d9b5460 100644 --- a/system/db/content.go +++ b/system/db/content.go @@ -232,14 +232,14 @@ func SortContent(namespace string) { fmt.Println("------------------------NOW SORTED------------------------") // sort posts - sort.Sort(&posts) + sort.Sort(posts) for i := range posts { fmt.Printf("%v\n", posts[i]) } // one by one, encode to json and store as - // store in __sorted bucket inside namespace bucket, first delete existing + // store in __sorted bucket, first delete existing } -- cgit v1.2.3