From 29d454764605bf9014cc9951d9f05c0e5a07363b Mon Sep 17 00:00:00 2001 From: Jasper Bok Date: Fri, 14 Jul 2023 17:13:59 +0200 Subject: [PATCH] Add the `Comment` type --- comment.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 comment.go diff --git a/comment.go b/comment.go new file mode 100644 index 0000000..d490d9c --- /dev/null +++ b/comment.go @@ -0,0 +1,13 @@ +package jiraclient + +import ( + "time" +) + +type Comment struct { + Self string `json:"self"` + Id string `json:"id"` + Author User `json:"author"` + Body string `json:"body"` + Created time.Time `json:created"` +}