diff options
author | Michael Muré <batolettre@gmail.com> | 2018-10-01 11:37:17 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-10-01 11:37:17 +0200 |
commit | 3402230a5537d95ce26bf7fa0d33330823a59f08 (patch) | |
tree | abdc5a871e995446da40406754adc11c4e3befe7 /bug/op_set_title.go | |
parent | 7f86898ef9a8f9e866835ece3c9824a8edc58036 (diff) | |
download | git-bug-3402230a5537d95ce26bf7fa0d33330823a59f08.tar.gz |
bug: use a value embedding for OpBase
Diffstat (limited to 'bug/op_set_title.go')
-rw-r--r-- | bug/op_set_title.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/op_set_title.go b/bug/op_set_title.go index fd964a30..9c523a2c 100644 --- a/bug/op_set_title.go +++ b/bug/op_set_title.go @@ -12,13 +12,13 @@ var _ Operation = &SetTitleOperation{} // SetTitleOperation will change the title of a bug type SetTitleOperation struct { - *OpBase + OpBase Title string `json:"title"` Was string `json:"was"` } func (op *SetTitleOperation) base() *OpBase { - return op.OpBase + return &op.OpBase } func (op *SetTitleOperation) Hash() (git.Hash, error) { |