go/printer.Config.Mode (field)
9 uses
go/printer (current package)
nodes.go#L794: if p.Config.Mode&normalizeNumbers != 0 {
nodes.go#L1665: cfg := Config{Mode: RawFormat}
printer.go#L285: if p.Config.Mode&SourcePos != 0 {
printer.go#L1299: Mode Mode // default: 0
printer.go#L1323: if cfg.Mode&RawFormat == 0 {
printer.go#L1327: if cfg.Mode&UseSpaces != 0 {
printer.go#L1332: if cfg.Mode&TabIndent != 0 {
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. |