mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +02:00
14 lines
197 B
Go
14 lines
197 B
Go
|
package models
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
// A commit author
|
||
|
type Author struct {
|
||
|
Name string
|
||
|
Email string
|
||
|
}
|
||
|
|
||
|
func (self *Author) Combined() string {
|
||
|
return fmt.Sprintf("%s <%s>", self.Name, self.Email)
|
||
|
}
|