var database/sql.nowFunc
10 uses
database/sql (current package)
sql.go#L39: var nowFunc = time.Now
sql.go#L488: return dc.createdAt.Add(timeout).Before(nowFunc())
sql.go#L1034: expiredSince := nowFunc().Add(-db.maxLifetime)
sql.go#L1050: expiredSince := nowFunc().Add(-db.maxIdleTime)
sql.go#L1165: createdAt: nowFunc(),
sql.go#L1166: returnedAt: nowFunc(),
sql.go#L1246: waitStart := nowFunc()
sql.go#L1312: createdAt: nowFunc(),
sql.go#L1313: returnedAt: nowFunc(),
sql.go#L1374: dc.returnedAt = nowFunc()
![]() |
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. |