aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/tag.go
diff options
context:
space:
mode:
authorSantiago M. Mola <santi@mola.io>2017-02-07 17:26:13 +0100
committerSantiago M. Mola <santi@mola.io>2017-02-07 17:26:13 +0100
commit62666856d9f4b3150671eb1f215a7072c02c0bc6 (patch)
tree3cd937fbca4386bf3454ed217546b7c42d8bf93a /plumbing/object/tag.go
parent1f39465975d56bbb02f5cdfb1e3e77f41c613f1d (diff)
downloadgo-git-62666856d9f4b3150671eb1f215a7072c02c0bc6.tar.gz
doc: add object fields godoc
Diffstat (limited to 'plumbing/object/tag.go')
-rw-r--r--plumbing/object/tag.go10
1 files changed, 7 insertions, 3 deletions
diff --git a/plumbing/object/tag.go b/plumbing/object/tag.go
index 7792491..085e3f6 100644
--- a/plumbing/object/tag.go
+++ b/plumbing/object/tag.go
@@ -20,9 +20,13 @@ import (
//
// https://git-scm.com/book/en/v2/Git-Internals-Git-References#Tags
type Tag struct {
- Hash plumbing.Hash
- Name string
- Tagger Signature
+ // Hash of the tag.
+ Hash plumbing.Hash
+ // Name of the tag.
+ Name string
+ // Tagger is the one who created the tag.
+ Tagger Signature
+ // Message is an arbitrary text message
Message string
TargetType plumbing.ObjectType
Target plumbing.Hash