common

package
v0.0.0-...-bab8211 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageResult

type ImageResult struct {
	Title    string `json:"title"`
	Source   string `json:"source"`
	ImageURL string `json:"image_url"`
}

type ImageSearchResults

type ImageSearchResults struct {
	Results []ImageResult `json:"results"`
}

func (ImageSearchResults) ToString

func (i ImageSearchResults) ToString() string

type WebResult

type WebResult struct {
	Title       string `json:"title"`
	URL         string `json:"url"`
	Description string `json:"description"`
}

type WebSearchResults

type WebSearchResults struct {
	Results []WebResult `json:"results"`
}

func (WebSearchResults) ToString

func (w WebSearchResults) ToString() string

Jump to

Keyboard shortcuts

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