Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultTermWidth = 80
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Filepath string IsChop bool IsDos bool IsIndent bool IsMono bool IsStats bool IsStdin bool IsTable bool IsVersion bool TermWidth int Widther cmn.Widther Out io.Writer OutErr io.Writer }
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) AcquireBoxChars ¶
func (*Config) AcquirePrinter ¶
func (*Config) AcquireScanner ¶
func (*Config) ApplyFlags ¶
func (c *Config) ApplyFlags()
func (*Config) Init ¶
func (c *Config) Init(fnTermSize TermSizeFunc)
type TermSizeFunc ¶
Click to show internal directories.
Click to hide internal directories.