From c37f3f0ea282f59481b4c5ae4ffa3d12669e2284 Mon Sep 17 00:00:00 2001 From: Jasper Bok Date: Fri, 14 Jul 2023 16:49:59 +0200 Subject: [PATCH] Add the `Project` type --- project.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 project.go diff --git a/project.go b/project.go new file mode 100644 index 0000000..36702f2 --- /dev/null +++ b/project.go @@ -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 +}