gopackages

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Select

func Select(options []string, selectOptions ...SelectOptionsStruct) (int, error)

func SelectFile

func SelectFile(rootPath string, options ...FileOptions) (string, fs.DirEntry, error)

Types

type FileOptions

type FileOptions struct {
	Filter string
}

type SelectOptionsStruct

type SelectOptionsStruct struct {
	DefaultSelection int
}

Jump to

Keyboard shortcuts

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