editutil

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateEditorWarningHeader

func GenerateEditorWarningHeader() string

GenerateEditorWarningHeader generates the editor warning header.

func OpenEditor

func OpenEditor(name string, content []byte, hdr string) ([]byte, error)

OpenEditor opens an editor, and returns the content (not path) of the modified yaml.

OpenEditor returns nil when the file was saved as an empty file, optionally with whitespaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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