explorer

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserDecline = explorer.ErrUserDecline
)

Functions

This section is empty.

Types

type Explorer

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

func NewExplorer

func NewExplorer(w *app.Window) *Explorer

func (*Explorer) ChoseFile

func (e *Explorer) ChoseFile(onResult func(r Result), extensions ...string)

type Result

type Result struct {
	Data     []byte
	Error    error
	FilePath string

	Declined bool
}

Jump to

Keyboard shortcuts

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