gopkg.in/yaml.v2.yaml_emitter_t.best_indent (field)
9 uses
gopkg.in/yaml.v2 (current package)
apic.go#L147: emitter.best_indent = indent
emitterc.go#L201: emitter.indent = emitter.best_indent
emitterc.go#L206: emitter.indent += emitter.best_indent
emitterc.go#L283: if emitter.best_indent < 2 || emitter.best_indent > 9 {
emitterc.go#L284: emitter.best_indent = 2
emitterc.go#L286: if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 {
emitterc.go#L1552: indent_hint := []byte{'0' + byte(emitter.best_indent)}
yamlh.go#L671: best_indent int // The number of indentation spaces.
![]() |
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. |