time.Time.sec (method)
14 uses
time (current package)
time.go#L168: func (t *Time) sec() int64 {
time.go#L176: func (t *Time) unixSec() int64 { return t.sec() + internalToUnix }
time.go#L208: t.ext = t.sec()
time.go#L245: ts := t.sec()
time.go#L246: us := u.sec()
time.go#L255: ts := t.sec()
time.go#L256: us := u.sec()
time.go#L269: return t.sec() == u.sec() && t.nsec() == u.nsec()
time.go#L427: return t.sec() == 0 && t.nsec() == 0
time.go#L854: d := Duration(t.sec()-u.sec())*Second + Duration(t.nsec()-u.nsec())
time.go#L1161: sec := t.sec()
time.go#L1438: sec := t.sec()
![]() |
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. |