Help us shape the future of Go! Take the 2026 Go Developer Survey

hcl

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package hcl provides HCL syntax highlighting for clog.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Highlight

func Highlight(s string, styles *style.HCL) string

Highlight applies syntax highlighting to s using the provided styles. Original formatting is preserved. Returns s unchanged when styles is nil or lexing fails.

Types

This section is empty.

Jump to

Keyboard shortcuts

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