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 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 <namespace>__sorted bucket, first delete existing } |