diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-12 21:28:43 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-12 21:32:10 +0200 |
commit | 3087a472bfe61db806a052ea2afd57d22b8c5d95 (patch) | |
tree | 8a4a12a56de1d739c216a27919797c3663aff27d /bug/person.go | |
parent | cda8114fda8d349bbaeefb42cc33ba715d41cf08 (diff) | |
download | git-bug-3087a472bfe61db806a052ea2afd57d22b8c5d95.tar.gz |
move Hash in /util/
Diffstat (limited to 'bug/person.go')
-rw-r--r-- | bug/person.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bug/person.go b/bug/person.go index 05cc43fa..d47bc150 100644 --- a/bug/person.go +++ b/bug/person.go @@ -3,6 +3,7 @@ package bug import ( "encoding/json" "github.com/MichaelMure/git-bug/repository" + "github.com/MichaelMure/git-bug/util" "github.com/pkg/errors" ) @@ -34,7 +35,7 @@ func GetUser(repo repository.Repo) (Person, error) { // Store will convert the Person to JSON and store it in the internal git datastore // Return the git hash handle of the data -func (person *Person) Store(repo repository.Repo) (repository.Hash, error) { +func (person *Person) Store(repo repository.Repo) (util.Hash, error) { data, err := json.Marshal(person) |