Add the `Project` type

main
Jasper Bok 2023-07-14 16:49:59 +02:00
parent fb0e4a8557
commit c37f3f0ea2
1 changed files with 12 additions and 0 deletions

12
project.go 100644
View File

@ -0,0 +1,12 @@
package jiraclient
type Project struct {
Id string `json:"id"`
Self string `json:"self"`
Name string `json:"name"`
Key string `json:"key"`
}
func (p Project) String() string {
return p.Name
}