package jfmt
import "zgo.at/jfmt"
Index ¶
Types ¶
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
func NewFormatter ¶
func (*Formatter) Format ¶
Format the reader to the writer.
func (*Formatter) FormatString ¶
Format the string.
func (*Formatter) Highlight ¶
Highlight sets the syntax highlighting.
what can be key, str, num, bool, or null.
Default is to not highlight anything.
Source Files ¶
jfmt.go
Directories ¶
Path | Synopsis |
---|---|
cmd | |
cmd/jfmt |
- Version
- v0.0.0-20240726113937-e6436421fade (latest)
- Published
- Jul 26, 2024
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 2 weeks ago –
Tools for package owners.