tool

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bing

func Bing(ctx context.Context, query string, maxResults int) (string, error)

func Brave

func Brave(ctx context.Context, apiKey, query string, maxResults int) (string, error)

func DDG

func DDG(ctx context.Context, query string, maxResults int) (string, error)

Search performs a search query and returns the result as string and an error if any.

func Download

func Download(ctx context.Context, url, file string) (string, error)

func Fetch

func Fetch(ctx context.Context, url string) (string, error)

Fetch and parse content from a webpage

func Google

func Google(ctx context.Context, apiKey, searchEngineID, query string, maxResults int) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL