diff options
author | Michael Muré <batolettre@gmail.com> | 2022-08-20 10:52:11 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-08-20 10:52:11 +0200 |
commit | 8818d091e85087766d7f493b7dfaf1aedc3a4ab0 (patch) | |
tree | a3bd60a9f533fc6fc11a094038d095510210cd23 /entities/bug/bug.go | |
parent | 58df94d38d754bff4dcca11e2ae4b99326a9a87e (diff) | |
download | git-bug-8818d091e85087766d7f493b7dfaf1aedc3a4ab0.tar.gz |
move bug.Status in entities/common for reuse
Diffstat (limited to 'entities/bug/bug.go')
-rw-r--r-- | entities/bug/bug.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/entities/bug/bug.go b/entities/bug/bug.go index 213a4ca4..4ce10c5b 100644 --- a/entities/bug/bug.go +++ b/entities/bug/bug.go @@ -4,6 +4,7 @@ package bug import ( "fmt" + "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" @@ -149,7 +150,7 @@ func (bug *Bug) Operations() []Operation { func (bug *Bug) Compile() *Snapshot { snap := &Snapshot{ id: bug.Id(), - Status: OpenStatus, + Status: common.OpenStatus, } for _, op := range bug.Operations() { |