const net/http.TimeFormat
8 uses
net/http (current package)
cookie.go#L294: var buf [len(TimeFormat)]byte
cookie.go#L297: b.Write(c.Expires.UTC().AppendFormat(buf[:0], TimeFormat))
fs.go#L623: w.Header().Set("Last-Modified", modtime.UTC().Format(TimeFormat))
h2_bundle.go#L6684: date = time.Now().UTC().Format(TimeFormat)
header.go#L121: TimeFormat,
server.go#L487: dateBuf [len(TimeFormat)]byte
server.go#L971: const TimeFormat = "Mon, 02 Jan 2006 15:04:05 GMT"
server.go#L1465: setHeader.date = time.Now().UTC().AppendFormat(cw.res.dateBuf[:0], TimeFormat)
![]() |
The pages are generated with Golds v0.8.4. (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. |