diff options
author | Michael Muré <batolettre@gmail.com> | 2019-02-23 13:01:46 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-03-01 22:40:28 +0100 |
commit | b8caddddc7aaf34b2da61c590fd1d9a0fae024fb (patch) | |
tree | 05871cd66dd4ae9a02f4221b6a8c235931e93074 /cache/bug_excerpt.go | |
parent | 719303226096c905e602cb620dfdfbcf8fe106ad (diff) | |
download | git-bug-b8caddddc7aaf34b2da61c590fd1d9a0fae024fb.tar.gz |
identity: some UX cleanup
Diffstat (limited to 'cache/bug_excerpt.go')
-rw-r--r-- | cache/bug_excerpt.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cache/bug_excerpt.go b/cache/bug_excerpt.go index e39c8310..55518077 100644 --- a/cache/bug_excerpt.go +++ b/cache/bug_excerpt.go @@ -8,6 +8,11 @@ import ( "github.com/MichaelMure/git-bug/util/lamport" ) +// Package initialisation used to register the type for (de)serialization +func init() { + gob.Register(BugExcerpt{}) +} + // BugExcerpt hold a subset of the bug values to be able to sort and filter bugs // efficiently without having to read and compile each raw bugs. type BugExcerpt struct { @@ -63,11 +68,6 @@ func NewBugExcerpt(b bug.Interface, snap *bug.Snapshot) *BugExcerpt { return e } -// Package initialisation used to register the type for (de)serialization -func init() { - gob.Register(BugExcerpt{}) -} - /* * Sorting */ |