fmt.State.Flag (method)
12 uses
fmt (current package)
print.go#L48: Flag(c int) bool
print.go#L85: if state.Flag(int(c)) { // The argument is an int for historical reasons.
math/big
ftoa.go#L497: if s.Flag(' ') {
ftoa.go#L501: case s.Flag('+'):
ftoa.go#L503: case s.Flag(' '):
ftoa.go#L513: case s.Flag('0') && !x.IsInf():
ftoa.go#L518: case s.Flag('-'):
intconv.go#L94: case s.Flag('+'): // supersedes ' ' when both specified
intconv.go#L96: case s.Flag(' '):
intconv.go#L102: if s.Flag('#') {
intconv.go#L148: case s.Flag('-'):
intconv.go#L151: case s.Flag('0') && !precisionSet:
![]() |
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. |