Documentation
¶
Index ¶
- func Tabs[I constraints.Integer](n I) string
- type ErrFmt
- type FmtMaybe
- type FmtMaybeRecvr
- type FmtRecvr
- type Fmter
- type FmterSlice
- type Fmters
- type Formatter
- func (f *Formatter) Bool(a bool) *Formatter
- func (f *Formatter) Buf() []byte
- func (f *Formatter) Byte(a byte) *Formatter
- func (f *Formatter) Bytes(a []byte) *Formatter
- func (f *Formatter) Clear() *Formatter
- func (f *Formatter) Cln() *Formatter
- func (f *Formatter) Clone(g *Formatter)
- func (f *Formatter) ContainsRune(r rune) bool
- func (f *Formatter) Delete(at, len int) *Formatter
- func (f *Formatter) Equals(g *Formatter) bool
- func (f *Formatter) F32(a float32) *Formatter
- func (f *Formatter) F32f(a float32, fmt byte, prec int) *Formatter
- func (f *Formatter) F64(a float64) *Formatter
- func (f *Formatter) F64f(a float64, fmt byte, prec int) *Formatter
- func (f *Formatter) Fatalf(fmt string, a ...interface{})
- func (f *Formatter) Fi(b bool) *Formatter
- func (f *Formatter) Fmter(r interface{}) *Formatter
- func (f *Formatter) Free()
- func (f *Formatter) I8(a int8) *Formatter
- func (f *Formatter) I16(a int16) *Formatter
- func (f *Formatter) I32(a int32) *Formatter
- func (f *Formatter) I64(a int64) *Formatter
- func (f *Formatter) If() *Formatter
- func (f *Formatter) Indent() *Formatter
- func (f *Formatter) IndentSpaces(n int) *Formatter
- func (f *Formatter) IndentTabs(n int) *Formatter
- func (f *Formatter) IndentTo(depth int) *Formatter
- func (f *Formatter) InsertBytes(at int, b []byte) *Formatter
- func (f *Formatter) InsertString(at int, b string) *Formatter
- func (f *Formatter) Int(a int) *Formatter
- func (f *Formatter) Intf(i int, base int) *Formatter
- func (f *Formatter) LastN(n int) string
- func (f *Formatter) Len() int
- func (f *Formatter) Ln() *Formatter
- func (f *Formatter) LnIfIndent(depth int) *Formatter
- func (f *Formatter) Outdent() *Formatter
- func (f *Formatter) OutdentLn() *Formatter
- func (f *Formatter) OutdentSpaces(n int) *Formatter
- func (f *Formatter) OutdentTabs(n int) *Formatter
- func (f Formatter) Pos() int
- func (f *Formatter) Printf(fm string, a ...interface{}) *Formatter
- func (f *Formatter) Println(s string) *Formatter
- func (f *Formatter) Quote(a string) *Formatter
- func (f *Formatter) RawQuote(a string) *Formatter
- func (f *Formatter) ReplaceBytes(start, end int, b []byte) *Formatter
- func (f *Formatter) ReplaceIfDiff(fm Fmter) bool
- func (f *Formatter) ReplaceString(start, end int, b string) *Formatter
- func (f *Formatter) Reset()
- func (f *Formatter) Rewind(to int) *Formatter
- func (f Formatter) Rewound(to int) *Formatter
- func (f *Formatter) Rune(a rune) *Formatter
- func (f *Formatter) RuneLit(r rune) *Formatter
- func (f *Formatter) RuneQuote(a rune) *Formatter
- func (f *Formatter) Runes() []rune
- func (f *Formatter) SetBuf(buf []byte)
- func (f *Formatter) SetIndent(depth int) *Formatter
- func (f *Formatter) Spaces(n int) *Formatter
- func (f *Formatter) Str(a string) *Formatter
- func (f Formatter) String() string
- func (f *Formatter) Stringer(a fmt.Stringer) *Formatter
- func (f *Formatter) Tab() *Formatter
- func (f *Formatter) Tabs(n int) *Formatter
- func (f *Formatter) TrimRight(s string) *Formatter
- func (f *Formatter) TrimRightCopiesN(s string, n int) *Formatter
- func (f *Formatter) U8(a uint8) *Formatter
- func (f *Formatter) U16(a uint16) *Formatter
- func (f *Formatter) U32(a uint32) *Formatter
- func (f *Formatter) U64(a uint64) *Formatter
- func (f *Formatter) Uint(a uint) *Formatter
- func (f *Formatter) Write(b []byte) (n int, err error)
- func (f *Formatter) YetUnseen() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Tabs ¶
func Tabs[I constraints.Integer](n I) string
Types ¶
type FmtMaybeRecvr ¶
type FmterSlice ¶
type FmterSlice []Fmter
func (FmterSlice) Fmter ¶
func (f FmterSlice) Fmter(i int) Fmter
type Formatter ¶
func (*Formatter) ContainsRune ¶
func (*Formatter) IndentSpaces ¶
func (*Formatter) IndentTabs ¶
func (*Formatter) LnIfIndent ¶
func (*Formatter) OutdentSpaces ¶
func (*Formatter) OutdentTabs ¶
func (*Formatter) ReplaceBytes ¶
func (*Formatter) ReplaceIfDiff ¶
func (*Formatter) ReplaceString ¶
func (*Formatter) TrimRightCopiesN ¶
Click to show internal directories.
Click to hide internal directories.