go/printer.Config.Tabwidth (field)
6 uses
go/printer (current package)
printer.go#L1300: Tabwidth int // default: 8
printer.go#L1324: minwidth := cfg.Tabwidth
printer.go#L1337: output = tabwriter.NewWriter(output, minwidth, cfg.Tabwidth, 1, padchar, twmode)
printer.go#L1376: return (&Config{Tabwidth: 8}).Fprint(output, fset, node)
go/format
format.go#L39: var config = printer.Config{Mode: printerMode, Tabwidth: tabWidth}
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. |