fmt.State.Width (method)
4 uses
fmt (current package)
print.go#L43: Width() (wid int, ok bool)
print.go#L89: if w, ok := state.Width(); ok {
math/big
ftoa.go#L508: 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.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |