Package ddg provides an implementation of the DuckDuckGo API.
package main
import (
"log"
"fmt"
"github.com/TheCreeper/go-ddg"
)
func main() {
c := ddg.NewClient()
_, text, err := c.FeelingLucky("Ducks")
if err != nil {
log.Fatal(err)
}
fmt.Println(text)
}