diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-18 12:51:14 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-18 12:51:14 -0700 |
commit | 1edea47f6c0cbda3f1fe963fc7946b4a89f55a03 (patch) | |
tree | 64880e7ec3e558519199e72d7e8a74c21f3033a0 | |
parent | a6ccdf38a16fa6663f1e510a7645700e722c9c3a (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 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 } |