searchtype

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: AGPL-3.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 Name

type Name string
const (
	WEB         Name = "web"
	IMAGES      Name = "images"
	SUGGESTIONS Name = "suggestions"
)

func FromString

func FromString(st string) (Name, error)

Converts a string to a search type name if it exists. Otherwise returns an error.

func (Name) String

func (st Name) String() string

Jump to

Keyboard shortcuts

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