client

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPageURL

func NewPageURL(link string) string

func NewURL

func NewURL(param *Param) string

nolint:varnamelen,exhaustruct,exhaustivestruct

Types

type Param

type Param struct {
	Query           string
	Limit           int
	SearchForSymbol bool
}

type Result

type Result struct {
	Name        string `json:"name"`
	Link        string `json:"link"`
	License     string `json:"license"`
	LicenseLink string `json:"licenseceLink"`
	Description string `json:"description"`
	Snippet     string `json:"snippet"`
}
func Search(param *Param) ([]Result, error)

Jump to

Keyboard shortcuts

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