create DTO for Issue

This commit is contained in:
2019-12-04 21:46:05 +01:00
parent f2702297ba
commit d4ade0ef0f
3 changed files with 64 additions and 20 deletions

View File

@ -1,16 +0,0 @@
package giteaClient
type GetCreateIssueProxy struct {
Title string `json:"title"`
Body string `json:"body"`
Assignee string `json:"assignee"`
Labels []int64 `json:"labels"`
Closed bool `json:"closed"`
}
type PostCreateIssueProxy struct {
Title string `json:"title"`
Body string `json:"body"`
Labels []int64 `json:"labels"`
}