editor

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(result *lang.GenerateResult) error

Open opens the files in the given result with the configured editor.

Types

type Opener

type Opener interface {
	Open(result *lang.GenerateResult) error
}

func Get

func Get(ed config.Editor) Opener

Get returns the editor with the given name.

Jump to

Keyboard shortcuts

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