godef

package
v0.0.0-...-bbcbdef Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Unlicense Imports: 10 Imported by: 0

Documentation

Overview

Package godef contains logc for interacting with the godef command line tool. It can be imported directly or used as a plugn.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander

type Commander interface {
	Execute(bind.Bindable)
}

type CursorController

type CursorController interface {
	LastCaret() int
}

type Editor

type Editor interface {
	Filepath() string
	Text() string
	LineStart(int) int
}

type Godef

type Godef struct {
	status.General
	// contains filtered or unexported fields
}

func New

func New(theme gxui.Theme) *Godef

func (*Godef) Defaults

func (g *Godef) Defaults() []fmt.Stringer

func (*Godef) Exec

func (g *Godef) Exec() error

func (*Godef) Menu

func (g *Godef) Menu() string

func (*Godef) Name

func (g *Godef) Name() string

func (*Godef) Reset

func (g *Godef) Reset()

func (*Godef) Store

func (g *Godef) Store(target interface{}) bind.Status

type Opener

type Opener interface {
	For(...focus.Opt) bind.Bindable
}

type Projecter

type Projecter interface {
	Project() setting.Project
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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