time.Time.Format (method)
20 uses
time (current package)
format.go#L546: s := t.Format("2006-01-02 15:04:05.999999999 -0700 MST")
format.go#L638: func (t Time) Format(layout string) string {
crypto/x509
verify.go#L586: Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
verify.go#L592: Detail: fmt.Sprintf("current time %s is after %s", now.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)),
encoding/asn1
asn1.go#L355: if serialized := ret.Format(formatStr); serialized != s {
asn1.go#L378: if serialized := ret.Format(formatStr); serialized != s {
github.com/oapi-codegen/runtime
styleparam.go#L194: return timeVal.Format(time.RFC3339Nano), true
styleparam.go#L200: return dateVal.Format(types.DateFormat), true
github.com/oapi-codegen/runtime/types
date.go#L15: return json.Marshal(d.Time.Format(DateFormat))
date.go#L33: return d.Time.Format(DateFormat)
io/fs
format.go#L43: b = append(b, info.ModTime().Format(time.DateTime)...)
net/http
fs.go#L618: w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
h2_bundle.go#L6521: date = rws.conn.srv.now().UTC().Format(TimeFormat)
transport.go#L2813: logf(time.Now().Format(time.RFC3339Nano)+": "+format, args...)
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L116: c.AddBytes([]byte(t.Format(generalizedTimeFormatStr)))
asn1.go#L129: c.AddBytes([]byte(t.Format(defaultUTCTimeFormatStr)))
asn1.go#L502: if serialized := res.Format(generalizedTimeFormatStr); serialized != t {
asn1.go#L534: if serialized := res.Format(formatStr); serialized != t {
 |
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. |