func time.quote
17 uses
time (current package)
format.go#L689: func quote(s string) string {
format.go#L697: quote(e.Value) + " as " +
format.go#L698: quote(e.Layout) + ": cannot parse " +
format.go#L699: quote(e.ValueElem) + " as " +
format.go#L700: quote(e.LayoutElem)
format.go#L703: quote(e.Value) + e.Message
format.go#L859: return Time{}, &ParseError{alayout, avalue, "", value, ": extra text: " + quote(value)}
format.go#L1393: return 0, errors.New("time: invalid duration " + quote(orig))
format.go#L1405: return 0, errors.New("time: invalid duration " + quote(orig))
format.go#L1411: return 0, errors.New("time: invalid duration " + quote(orig))
format.go#L1425: return 0, errors.New("time: invalid duration " + quote(orig))
format.go#L1437: return 0, errors.New("time: missing unit in duration " + quote(orig))
format.go#L1443: return 0, errors.New("time: unknown unit " + quote(u) + " in duration " + quote(orig))
format.go#L1447: return 0, errors.New("time: invalid duration " + quote(orig))
format.go#L1456: return 0, errors.New("time: invalid duration " + quote(orig))
format.go#L1462: return 0, errors.New("time: invalid duration " + quote(orig))
 |
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. |