Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-08 11:26:11 +00:00
parent f7d1a4e72a
commit 2166a3322f
20 changed files with 767 additions and 768 deletions

View File

@@ -16,7 +16,7 @@ type JokeService struct {
client *client.Client
}
//
// Get a random joke
func (t *JokeService) Random(request *RandomRequest) (*RandomResponse, error) {
rsp := &RandomResponse{}
@@ -28,9 +28,8 @@ type JokeInfo struct {
Body string `json:"body"`
Category string `json:"category"`
Id string `json:"id"`
// the source of joke
Source string `json:"source"`
Title string `json:"title"`
Source string `json:"source"`
Title string `json:"title"`
}
type RandomRequest struct {