awgodoc

package module
v0.0.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 12 Imported by: 0

README

awgodoc

Alfred workflow for searching pkg.go.dev.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func NewApp

func NewApp() *App

func (*App) Run

func (app *App) Run()

type Client

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

func NewClient

func NewClient() *Client

func (*Client) SearchPackages

func (cli *Client) SearchPackages(ctx context.Context, query string) ([]*Package, error)

func (*Client) SearchSymbols

func (cli *Client) SearchSymbols(ctx context.Context, query string) ([]*Symbol, error)

type Kind

type Kind string
const (
	KindType     Kind = "type"
	KindConstant Kind = "constant"
	KindFunction Kind = "function"
	KindVariable Kind = "variable"
	KindMethod   Kind = "method"
)

type Package

type Package struct {
	Name              string
	ImportPath        string
	IsStandardLibrary bool
	URL               string
}

type Symbol

type Symbol struct {
	Name              string
	Kind              Kind
	ImportPath        string
	IsStandardLibrary bool
	Code              string
	URL               string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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