errtrace

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

errtrace instruments Go code with error return tracing.

Installation

Install errtrace with:

go install braces.dev/errtrace/cmd/errtrace@latest

Usage

errtrace [options] <source files>

This will transform the source files and write them to the standard output. Use the following flags to control the output:

-format
      whether to format ouput; one of: [auto, always, never].
      auto is the default and will format if the output is being written to a file.
-w    write result to the given source files instead of stdout.

Jump to

Keyboard shortcuts

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