package
1.22.2
Repository: https://github.com/go-asm/go.git
Documentation: pkg.go.dev

# Functions

AppendMarker is like [Marker] but appends the marker to dst.
CutMarker finds the first match marker in line and removes it, returning the shortened line (with the marker removed), the ID from the match marker, and whether a marker was found at all.
Hash computes a hash of the data arguments, each of which must be of type string, byte, int, uint, int32, uint32, int64, uint64, uintptr, or a slice of one of those types.
Marker returns the match marker text to use on any line reporting details about a match of the given ID.
New creates and returns a new Matcher implementing the given pattern.
PrintMarker prints to w a one-line report containing only the marker for h.

# Structs

A Matcher is the parsed, compiled form of a PATTERN string.

# Interfaces

Writer is the same interface as io.Writer.