aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-06-23 17:54:38 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-06-24 21:35:24 +0200
commit31eebdf9da8cd0f6afd7999175fb53cc135a1833 (patch)
treea60d34b9ce62e5cb99662dfc0761736f4b9b8ad9 /bug/operation.go
parent87cdf03219e7713f041387cbfc3144506a6be9da (diff)
downloadgit-bug-31eebdf9da8cd0f6afd7999175fb53cc135a1833.tar.gz
[bridge/github] Correcte some types and add comments
General improvements Co-Authored-By: Michael Muré <batolettre@gmail.com> empty array check an empty array is not nil Co-Authored-By: Michael Muré <batolettre@gmail.com>
Diffstat (limited to 'bug/operation.go')
-rw-r--r--bug/operation.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bug/operation.go b/bug/operation.go
index 2cb27d18..daef7b8c 100644
--- a/bug/operation.go
+++ b/bug/operation.go
@@ -49,7 +49,7 @@ type Operation interface {
GetMetadata(key string) (string, bool)
// AllMetadata return all metadata for this operation
AllMetadata() map[string]string
- // GetAuthor return author identity
+ // GetAuthor return the author identity
GetAuthor() identity.Interface
}
@@ -225,6 +225,7 @@ func (op *OpBase) AllMetadata() map[string]string {
return result
}
+// GetAuthor return author identity
func (op *OpBase) GetAuthor() identity.Interface {
return op.Author
}