type go/printer.Config
10 uses
go/printer (current package)
nodes.go#L1665: cfg := Config{Mode: RawFormat}
printer.go#L54: Config
printer.go#L94: func (p *printer) init(cfg *Config, fset *token.FileSet, nodeSizes map[ast.Node]int) {
printer.go#L1298: type Config struct {
printer.go#L1305: func (cfg *Config) fprint(output io.Writer, fset *token.FileSet, node interface{}, nodeSizes map[ast.Node]int) (err error) {
printer.go#L1366: func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node interface{}) error {
printer.go#L1376: return (&Config{Tabwidth: 8}).Fprint(output, fset, node)
go/format
format.go#L39: var config = printer.Config{Mode: printerMode, Tabwidth: tabWidth}
internal.go#L100: cfg printer.Config,
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L404: p := printer.Config{Mode: printer.UseSpaces | printer.TabIndent, Tabwidth: 4}
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |