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

changes

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0, MIT Imports: 13 Imported by: 0

Documentation

Overview

Package changes renders semantic differences for command reports and review descriptions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InputLines

func InputLines(change lockfile.InputChange) []string

InputLines describes the committed input difference using resolver-owned values.

func Lines

func Lines(change plugin.Change) []string

Lines describes a destination change without terminal or Markdown formatting.

func Text

func Text(text string) string

Text escapes the characters in one report value that could reshape a report or control a terminal, such as newlines, escape sequences and bidirectional overrides. Printable text, including non-ASCII letters, is unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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