internal

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoGoodResult = errors.New("no search results found")
)

Functions

This section is empty.

Types

type BochaResp

type BochaResp struct {
	Code int   `json:"code"`
	Data *data `json:"data"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(apiKey string, count uint, debug bool) *Client

func (*Client) Search

func (s *Client) Search(ctx context.Context, query string) (string, error)

Jump to

Keyboard shortcuts

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