fmt.State.Width (method)
5 uses
fmt (current package)
print.go#L43: Width() (wid int, ok bool)
print.go#L89: if w, ok := state.Width(); ok {
github.com/go-faster/errors
adaptor.go#L96: width, okW := s.Width()
math/big
ftoa.go#L515: if width, hasWidth := s.Width(); hasWidth && width > len(sign)+len(buf) {
intconv.go#L146: if width, widthSet := s.Width(); widthSet && length < width { // pad as specified
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |