Help us shape the future of Go! Take the 2026 Go Developer Survey

editor

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 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