Skip to content

Commit

Permalink
feat: add Tags
Browse files Browse the repository at this point in the history
Allows the user to get all tags so that they can use them for their own
purpose.
  • Loading branch information
fallion committed Oct 25, 2021
1 parent c6f8dcb commit c1a7fc0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tags.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package git

func (g *Git) Tags() ([]*Tag, error) {
tags, err := g.getTags()

if err != nil {
return nil, err
}

return tags, nil
}

0 comments on commit c1a7fc0

Please sign in to comment.