makedork is a fluent builder library for composing advanced search dorks programmatically via a concise, chainable API.
package main
import (
"fmt"
"github.com/jeremyctrl/makedork"
)
func main() {
q := makedork.NewGoogleSearch().
Site("example.com").
InText("golang").
FileType("pdf")
fmt.Println(q.String())
// site:"example.com" intext:"golang" filetype:"pdf"
}