1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-29 15:09:22 +03:00
Files
lazygit/pkg/models/tag.go
Jesse Duffield e849ca3372 move tags
2020-09-29 20:48:49 +10:00

19 lines
234 B
Go

package models
// Tag : A git tag
type Tag struct {
Name string
}
func (t *Tag) RefName() string {
return t.Name
}
func (t *Tag) ID() string {
return t.RefName()
}
func (t *Tag) Description() string {
return "tag " + t.Name
}