text/tabwriter.cell.width (field)
9 uses
text/tabwriter (current package)
tabwriter.go#L29: width int // cell width in runes
tabwriter.go#L315: b.writePadding(c.width, b.widths[j], useTabs)
tabwriter.go#L324: b.writePadding(c.width, b.widths[j], false)
tabwriter.go#L328: b.writePadding(c.width, b.widths[j], false)
tabwriter.go#L385: if w := c.width + b.padding; w > width {
tabwriter.go#L389: if c.width > 0 || c.htab {
tabwriter.go#L420: b.cell.width += utf8.RuneCount(b.buf[b.pos:])
tabwriter.go#L455: b.cell.width -= 2 // don't count the Escape chars
tabwriter.go#L459: b.cell.width++ // entity, count as one rune
![]() |
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. |