recover_chroma

command
v0.0.0-...-789b534 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: MIT Imports: 13 Imported by: 0

README

recover_chroma

recover_chroma is more visually pleasing version of our last chroma exercise.

In this exercise, we have extended our developer mode to show stack traces with links to the file + line number where the error has actually occurred. We are using syntax highlighting library chroma for doing this.

Usage

Run the server with go run main.go.

Screenshots

Screenshot showing stack trace.

stack trace with links

Screenshot highlighting line number when one of the link is clicked on the previous page.

stack trace with line number highlighted

Chroma provides various customizations over the themes and all.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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