aboutsummaryrefslogtreecommitdiffstats
path: root/entities/bug/snapshot.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-08-20 10:52:11 +0200
committerMichael Muré <batolettre@gmail.com>2022-08-20 10:52:11 +0200
commit8818d091e85087766d7f493b7dfaf1aedc3a4ab0 (patch)
treea3bd60a9f533fc6fc11a094038d095510210cd23 /entities/bug/snapshot.go
parent58df94d38d754bff4dcca11e2ae4b99326a9a87e (diff)
downloadgit-bug-8818d091e85087766d7f493b7dfaf1aedc3a4ab0.tar.gz
move bug.Status in entities/common for reuse
Diffstat (limited to 'entities/bug/snapshot.go')
-rw-r--r--entities/bug/snapshot.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/entities/bug/snapshot.go b/entities/bug/snapshot.go
index cece09b8..442496f7 100644
--- a/entities/bug/snapshot.go
+++ b/entities/bug/snapshot.go
@@ -4,6 +4,7 @@ import (
"fmt"
"time"
+ "github.com/MichaelMure/git-bug/entities/common"
"github.com/MichaelMure/git-bug/entities/identity"
"github.com/MichaelMure/git-bug/entity"
"github.com/MichaelMure/git-bug/entity/dag"
@@ -15,7 +16,7 @@ var _ dag.Snapshot = &Snapshot{}
type Snapshot struct {
id entity.Id
- Status Status
+ Status common.Status
Title string
Comments []Comment
Labels []Label