MCPcopy
hub / github.com/MadAppGang/dingo / MatchFormatter

Struct MatchFormatter

pkg/format/rules/match.go:8–10  ·  view source on GitHub ↗

MatchFormatter defines formatting rules for match expressions

Source from the content-addressed store, hash-verified

6
7// MatchFormatter defines formatting rules for match expressions
8type MatchFormatter struct {
9 AlignArms bool // Align match arms at => (default: true)
10}
11
12// NewMatchFormatter creates a new match formatter with default settings
13func NewMatchFormatter() *MatchFormatter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected