diff options
Diffstat (limited to 'tag.go')
| -rw-r--r-- | tag.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,6 +17,10 @@ type Tag struct { cast_ptr *C.git_tag } +func (t *Tag) AsObject() *Object { + return &t.Object +} + func (t Tag) Message() string { ret := C.GoString(C.git_tag_message(t.cast_ptr)) runtime.KeepAlive(t) |
