From 62666856d9f4b3150671eb1f215a7072c02c0bc6 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Tue, 7 Feb 2017 17:26:13 +0100 Subject: doc: add object fields godoc --- plumbing/object/tag.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'plumbing/object/tag.go') 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 -- cgit