Documentation
¶
Overview ¶
Package editor opens an external editor on a temp file and returns the edited bytes. It deliberately keeps no state — callers serialize what they want, hand a hint at the file extension, and parse what comes back.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnchanged = errors.New("editor: file unchanged")
ErrUnchanged is returned when the user saved without modifying the file.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.