1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-10-31 02:25:35 +03:00

move tags

This commit is contained in:
Jesse Duffield
2020-09-29 18:38:56 +10:00
parent 630e446989
commit e849ca3372
6 changed files with 12 additions and 11 deletions

18
pkg/models/tag.go Normal file
View File

@@ -0,0 +1,18 @@
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
}