msg

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package msg defines formatting constants for hook message table display.

Index

Constants

View Source
const (
	// MessageColHook is the column width for the Hook field in message list output.
	MessageColHook = 24
	// MessageColVariant is the column width for the Variant field in message list output.
	MessageColVariant = 20
	// MessageColCategory is the column width for the Category field in message list output.
	MessageColCategory = 16
	// MessageSepHook is the separator width for the Hook column underline.
	MessageSepHook = 22
	// MessageSepVariant is the separator width for the Variant column underline.
	MessageSepVariant = 18
	// MessageSepCategory is the separator width for the Category column underline.
	MessageSepCategory = 14
	// MessageSepOverride is the separator width for the Override column underline.
	MessageSepOverride = 8
)

Message table formatting.

Variables

View Source
var MessageListFormat = fmt.Sprintf("%%-%ds %%-%ds %%-%ds %%s",
	MessageColHook, MessageColVariant, MessageColCategory)

MessageListFormat is the pre-computed printf format for message list rows.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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