move models folder into commands folder

This commit is contained in:
Jesse Duffield 2020-09-29 20:28:39 +10:00
parent 83748d78f8
commit ce6f8ed1bc
50 changed files with 41 additions and 41 deletions

View file

@ -0,0 +1,20 @@
package models
// Remote : A git remote
type Remote struct {
Name string
Urls []string
Branches []*RemoteBranch
}
func (r *Remote) RefName() string {
return r.Name
}
func (r *Remote) ID() string {
return r.RefName()
}
func (r *Remote) Description() string {
return r.RefName()
}