goimports

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier interface {
	Apply(text.Editor, ...text.Edit)
}

type GoImports

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

func New

func New(theme gxui.Theme) *GoImports

func (*GoImports) Defaults

func (gi *GoImports) Defaults() []fmt.Stringer

func (*GoImports) Exec

func (gi *GoImports) Exec() error

func (*GoImports) Menu

func (gi *GoImports) Menu() string

func (*GoImports) Name

func (gi *GoImports) Name() string

func (*GoImports) Reset

func (gi *GoImports) Reset()

func (*GoImports) Store

func (gi *GoImports) Store(target interface{}) bind.Status

type OnSave

type OnSave struct {
}

func (OnSave) BeforeSave

func (o OnSave) BeforeSave(proj setting.Project, path, text string) (newText string, err error)

func (OnSave) Name

func (o OnSave) Name() string

func (OnSave) OpName

func (o OnSave) OpName() string

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