Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-08 10:41:28 +00:00
parent e56ccf9c5a
commit 18f89d3897
20 changed files with 886 additions and 788 deletions

View File

@@ -0,0 +1,18 @@
package main
import (
"fmt"
"os"
"go.m3o.com/joke"
)
//
func main() {
jokeService := joke.NewJokeService(os.Getenv("M3O_API_TOKEN"))
rsp, err := jokeService.Random(&joke.RandomRequest{
Count: 3,
})
fmt.Println(rsp, err)
}