bytes_diff_visualizer

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PadLeft

func PadLeft(str, pad string, length int) string

func PadRight

func PadRight(str, pad string, length int) string

func VisualizeByteDiff

func VisualizeByteDiff(actual []byte, expected []byte) []string

VisualizeByteDiff visualizes the difference between two byte slices, returning lines to be presented to the user.

The lines will include ANSI escape codes to colorize the output.

Types

This section is empty.

Jump to

Keyboard shortcuts

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