debugutil

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: Apache-2.0, BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package debugutil contains utility functions, mostly helpful for writting tests, related to code generation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SideBySide

func SideBySide(a, b string) string

SideBySide returns a string with a and b printed side by side, separated by pipe character (for equal lines) or a delta character (for different lines).

func WithLineNumbers

func WithLineNumbers(str string) string

WithLineNumbers returns a version of the string with line numbers printed on the left hand side of each line.

Types

This section is empty.

Jump to

Keyboard shortcuts

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