Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 0a03e77

Browse files
committed
Update SDK to match the return of /users/search
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 8718470 commit 0a03e77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

gitea/miscellaneous.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ type SearchError struct {
1616
Error string `json:"error"`
1717
}
1818

19+
// UserSearchResults results of a succesful user search
20+
type UserSearchResults struct {
21+
OK bool `json:"ok"`
22+
Data []*User `json:"data"`
23+
}
24+
1925
// MarkdownOption markdown options
2026
type MarkdownOption struct {
2127
// Text markdown to render

0 commit comments

Comments
 (0)