Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 742 Bytes

File metadata and controls

33 lines (23 loc) · 742 Bytes

makedork

Go Reference License: MIT

Fluent, composable builder for crafting search dorks in Go.

makedork is a fluent builder library for composing advanced search dorks programmatically via a concise, chainable API.

Example

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"
}