-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
felix.niederwanger@suse.com
committed
Apr 20, 2021
1 parent
53f8ee5
commit 85f6c86
Showing
6 changed files
with
73 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package gopenqa | ||
|
||
type Comment struct { | ||
ID int `json:"id"` | ||
Text string `json:"text"` // Comment text | ||
Rendered string `json:"renderedMarkdown"` // HTML of the rendered markdown | ||
BugRefs []string `json:"bugrefs"` // Referenced bugs | ||
Created string `json:"created"` // bug creation date | ||
Updated string `json:"updated"` // timestamp for update | ||
User string `json:"userName"` // Creator | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= | ||
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= | ||
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= | ||
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= | ||
github.com/streadway/amqp v1.0.0 h1:kuuDrUJFZL1QYL9hUNuCxNObNzB0bV/ZG5jV3RWAQgo= | ||
github.com/streadway/amqp v1.0.0/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= | ||
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= | ||
gotest.tools v1.4.0 h1:BjtEgfuw8Qyd+jPvQz8CfoxiO/UjFEidWinwEXZiWv0= | ||
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= | ||
gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"bugrefs":[],"created":"2021-04-20 07:41:50 +0000","id":14,"renderedMarkdown":"<p>I take this job for testing comments.<\/p>\n<h1>Update<\/h1>\n<p>I've updated the comment.<\/p>\n","text":"I take this job for testing comments.\r\n\r\n# Update\r\n\r\nI've updated the comment.","updated":"2021-04-20 07:45:26 +0000","userName":"phoenix"},{"bugrefs":[],"created":"2021-04-20 07:45:16 +0000","id":15,"renderedMarkdown":"<p>Comment 2.<\/p>\n","text":"Comment 2.","updated":"2021-04-20 07:45:16 +0000","userName":"phoenix"},{"bugrefs":["poo#42"],"created":"2021-04-20 07:45:40 +0000","id":16,"renderedMarkdown":"<p><a href=\"https:\/\/progress.opensuse.org\/issues\/91344\">poo#42<\/a><\/p>\n","text":"poo#42","updated":"2021-04-20 07:45:40 +0000","userName":"phoenix"},{"bugrefs":["bsc#1337"],"created":"2021-04-20 07:45:48 +0000","id":17,"renderedMarkdown":"<p><a href=\"https:\/\/bugzilla.suse.com\/show_bug.cgi?id=1337\">bsc#1337<\/a><\/p>\n","text":"bsc#1337","updated":"2021-04-20 07:45:48 +0000","userName":"phoenix"}] |