editor

package
v0.0.0-...-ad3a29e Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Editor

type Editor struct {
	Args []string
}

func NewDefaultEditor

func NewDefaultEditor() Editor

func (Editor) EditReader

func (e Editor) EditReader(prefix, suffix string, ioStreams util.IOStreams, r io.Reader) ([]byte, string, error)

func (Editor) Launch

func (e Editor) Launch(ioStreams util.IOStreams, path string) error

Jump to

Keyboard shortcuts

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