Versions in this module Expand all Collapse all v0 v0.2.0 Jun 12, 2026 Changes in this version + type Config struct + type ConfigOption func(c *Config) + func WithNoWrap() ConfigOption + func WithPreserveNewlines() ConfigOption + func WithWidth(w int) ConfigOption + type Formatter struct + func New(io iostreams.IOStreams, options ...ConfigOption) *Formatter + func (f *Formatter) Doc(tmpl string) (string, error) + func (f *Formatter) Docf(tmpl string, args ...any) (string, error) + func (f *Formatter) Must(tmpl string) string + func (f *Formatter) Mustf(tmpl string, args ...any) string