plugins

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Title   = "title"
	Message = "message"

	SaveOp    = "save"
	LoadOp    = "load"
	BrowseOp  = "browse"
	Operation = "operation"

	FileTypeFilterDesc = "file_type_filter_desc"
	FileTypeFilter     = "file_type_filter"

	StartDir = "start_dir"
)

Variables

View Source
var ErrInvalidOperation = errors.New("invalid operation")

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Clipboard plugin.

func (*Plugin) GetFuncs

func (p *Plugin) GetFuncs() map[string]app.Func

GetFuncs returns plugin functions.

func (Plugin) GetName

func (p Plugin) GetName() string

GetName returns plugin name.

func (Plugin) GetVersion

func (p Plugin) GetVersion() string

GetVersion returns plugin version.

func (*Plugin) Init

func (p *Plugin) Init(a app.App)

Init the plugin.

Jump to

Keyboard shortcuts

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