time.Time.Before (method)
18 uses
time (current package)
time.go#L260: func (t Time) Before(u Time) bool {
time.go#L902: case t.Before(u):
context
context.go#L617: if cur, ok := parent.Deadline(); ok && cur.Before(d) {
crypto/x509
verify.go#L574: if now.Before(c.NotBefore) {
x509.go#L2305: 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/internal/mtproto
handle_session_created.go#L27: if (created.Before(now) && now.Sub(created) > maxPast) || created.Sub(now) > maxFuture {
read.go#L42: if created.Before(now) && now.Sub(created) > maxPast {
go.uber.org/zap
field.go#L348: if val.Before(_minTimeInt64) || val.After(_maxTimeInt64) {
net
dial.go#L167: if b.IsZero() || a.Before(b) {
dial.go#L460: if d, ok := ctx.Deadline(); !ok || deadline.Before(d) {
dial.go#L607: if partialDeadline.Before(deadline) {
hosts.go#L56: if now.Before(hosts.expire) && hosts.path == hp && len(hosts.byName) > 0 {
net/http
client.go#L313: return t.Before(d)
h2_bundle.go#L6593: if !deadline.IsZero() && deadline.Before(time.Now()) {
h2_bundle.go#L6619: if !deadline.IsZero() && deadline.Before(time.Now()) {
transport.go#L1056: tooOld := !oldTime.IsZero() && pconn.idleAt.Round(0).Before(oldTime)
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |