Get random dad jokes using the icanhazdadjoke API ๐จ
go get github.com/UltiRequiem/dadjokes/pkg
import (
"fmt"
"github.com/UltiRequiem/dadjokes/pkg"
)
func main() {
joke, errorGettingJoke := dadjokes.GetJoke()
if errorGettingJoke != nil {
panic(errorGettingJoke)
}
fmt.Println(joke.Joke)
}
Is hosted on pkg.go.dev ๐
go install github.com/UltiRequiem/dadjokes@latest
dadjokes
Or ๐
dadjokes 15
Video Showcase ๐น
Open an Issue, I will check it a soon as possible ๐
If you want to hurry me up a bit send me a tweet ๐
Consider supporting me on Patreon if you like my work ๐
Don't forget to start the repo โญ
We use Semantic Versioning. For the versions available, see the tags ๐ท๏ธ
Eliaz Bobadilla - Creator and Maintainer ๐ช
See also the full list of contributors who participated in this project โจ
Licensed under the MIT License ๐