test

package
v0.0.0-...-d5e0ede Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

// hexdump: a hexdumper utility written in Golang // // Copyright 2015 Jason E. Aten <j.e.aten -a-t- g-m-a-i-l dot c-o-m> // License: MIT

Index

Constants

This section is empty.

Variables

View Source
var UseAnsiColorForDiff bool = false // Default to false

UseAnsiColorForDiff controls whether ANSI color codes are used in diff output. This should be set by test suites during setup.

Functions

func Dump

func Dump(by []byte) string

func DumpDiff

func DumpDiff(expected []byte, actual []byte, checklines bool) string

func ReadFileAsBytes

func ReadFileAsBytes(fileName string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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