From 919f98efdb10d57767cf129c3c0b3c357aaa29d2 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 2 Sep 2018 15:46:43 +0200 Subject: cache: provide sorted (id, creation, edit) list of bugs --- cache/bug_excerpt.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cache/bug_excerpt.go') 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) -- cgit