Add the `User` type

main
Jasper Bok 2023-07-14 17:01:46 +02:00
parent c37f3f0ea2
commit 1019668304
1 changed files with 12 additions and 0 deletions

12
user.go 100644
View File

@ -0,0 +1,12 @@
package jiraclient
type User struct {
Self string `json:"self"`
Name string `json:"name"`
DisplayName string `json:"displayName"`
Active bool `json:"active"`
}
func (u User) String() string {
return u.DisplayName
}