highlight

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Plan

func Plan(s string) string

Plan returns the EXPLAIN output with ANSI highlighting applied. Node names are bold, metrics are dim, arrows are dim, and summary lines are bold.

func SQL

func SQL(s string) string

SQL returns the input with ANSI terminal syntax highlighting applied. On error or empty input, the original string is returned unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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