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
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 📄