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

term

package
v0.28.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConfirmationFailed = errors.New("aborted by user")

Functions

func Colordiff

func Colordiff(d string) *bytes.Buffer

Colordiff colorizes unified diff output (diff -u -N)

func Confirm

func Confirm(msg, approval string) error

Confirm asks the user for confirmation

Types

This section is empty.

Jump to

Keyboard shortcuts

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