github.com/crosbymichael/octokat@v0.0.0-20160826194511-076a32289ed5/repo.go (about) 1 package octokat 2 3 import ( 4 "fmt" 5 ) 6 7 type Repo struct { 8 Name string 9 UserName string 10 } 11 12 func (r Repo) String() string { 13 return fmt.Sprintf("%s/%s", r.UserName, r.Name) 14 }