diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-11 22:04:16 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-11 22:14:46 +0200 |
commit | 3605887345792d2f981f971c6c4a2cb7f86a343e (patch) | |
tree | afd525b6e3a638e4c619a5a986fcb2811c297444 /bug/operation.go | |
parent | 7b05983c19af4da70f2a9a5062913f4e4f5d5faa (diff) | |
download | git-bug-3605887345792d2f981f971c6c4a2cb7f86a343e.tar.gz |
reorganize package for a more idomatic go
Diffstat (limited to 'bug/operation.go')
-rw-r--r-- | bug/operation.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bug/operation.go b/bug/operation.go index 00313dc0..f6c63144 100644 --- a/bug/operation.go +++ b/bug/operation.go @@ -1,7 +1,7 @@ package bug import ( - "github.com/MichaelMure/git-bug/util" + "github.com/MichaelMure/git-bug/util/git" "time" ) @@ -28,7 +28,7 @@ type Operation interface { // Apply the operation to a Snapshot to create the final state Apply(snapshot Snapshot) Snapshot // Files return the files needed by this operation - Files() []util.Hash + Files() []git.Hash // TODO: data validation (ex: a title is a single line) // Validate() bool @@ -66,6 +66,6 @@ func (op OpBase) GetUnixTime() int64 { } // Files return the files needed by this operation -func (op OpBase) Files() []util.Hash { +func (op OpBase) Files() []git.Hash { return nil } |