aboutsummaryrefslogtreecommitdiffstats
path: root/cache/bug_excerpt.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-02 15:46:43 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-02 15:46:43 +0200
commit919f98efdb10d57767cf129c3c0b3c357aaa29d2 (patch)
tree647b2e8092d8f26ae6cafcd3e18ae8db0c7ddac2 /cache/bug_excerpt.go
parent90a45b4c0979dd744aa5a28c84ececf243f027d2 (diff)
downloadgit-bug-919f98efdb10d57767cf129c3c0b3c357aaa29d2.tar.gz
cache: provide sorted (id, creation, edit) list of bugs
Diffstat (limited to 'cache/bug_excerpt.go')
-rw-r--r--cache/bug_excerpt.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go
index 572f461a..31e1951f 100644
--- a/cache/bug_excerpt.go
+++ b/cache/bug_excerpt.go
@@ -42,7 +42,7 @@ func init() {
* Sorting
*/
-type BugsByCreationTime []*BugExcerpt
+type BugsByCreationTime []BugExcerpt
func (b BugsByCreationTime) Len() int {
return len(b)
@@ -70,7 +70,7 @@ func (b BugsByCreationTime) Swap(i, j int) {
b[i], b[j] = b[j], b[i]
}
-type BugsByEditTime []*BugExcerpt
+type BugsByEditTime []BugExcerpt
func (b BugsByEditTime) Len() int {
return len(b)