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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
awgodoc command

Jump to

Keyboard shortcuts

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