time.Time.Before (method)
18 uses
time (current package)
time.go#L281: func (t Time) Before(u Time) bool {
time.go#L1207: case t.Before(u):
context
context.go#L636: if cur, ok := parent.Deadline(); ok && cur.Before(d) {
crypto/tls
common.go#L1873: return opts.CurrentTime.Before(cert.NotBefore) || opts.CurrentTime.After(cert.NotAfter)
crypto/x509
verify.go#L459: if now.Before(c.NotBefore) {
x509.go#L2430: if template.NextUpdate.Before(template.ThisUpdate) {
crypto/x509/pkix
pkix.go#L296: return !now.Before(certList.TBSCertList.NextUpdate)
github.com/gotd/neo
moment.go#L23: return m[i].when.Before(m[j].when)
github.com/gotd/td/mtproto
handle_session_created.go#L30: if (created.Before(now) && now.Sub(created) > maxPast) || created.Sub(now) > maxFuture {
read.go#L42: if created.Before(now) && now.Sub(created) > maxPast {
net
dial.go#L239: if b.IsZero() || a.Before(b) {
dial.go#L568: if d, ok := ctx.Deadline(); !ok || deadline.Before(d) {
dial.go#L749: if partialDeadline.Before(deadline) {
hosts.go#L56: if now.Before(hosts.expire) && hosts.path == hp && len(hosts.byName) > 0 {
net/http
client.go#L317: return t.Before(d)
h2_bundle.go#L6806: if !deadline.IsZero() && deadline.Before(time.Now()) {
h2_bundle.go#L6832: if !deadline.IsZero() && deadline.Before(time.Now()) {
transport.go#L1209: tooOld := !oldTime.IsZero() && pconn.idleAt.Round(0).Before(oldTime)
![]() |
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. |