time.Time.Unix (method)
18 uses
time (current package)
time.go#L1133: func (t Time) Unix() int64 {
time.go#L1361: _, _, _, _, isDST := t.loc.lookup(t.Unix())
compress/gzip
gzip.go#L160: le.PutUint32(z.buf[4:8], uint32(z.ModTime.Unix()))
crypto/tls
handshake_server.go#L743: createdAt := uint64(c.config.time().Unix())
handshake_server_tls13.go#L729: createdAt: uint64(c.config.time().Unix()),
github.com/go-pg/pg/v10/internal/pool
conn.go#L42: atomic.StoreUint32(&cn.usedAt, uint32(tm.Unix()))
github.com/golang/protobuf/jsonpb
decode.go#L241: sec := t.Unix()
github.com/golang/protobuf/ptypes
timestamp.go#L67: Seconds: t.Unix(),
github.com/google/go-cmp/cmp
report_text.go#L18: var randBool = rand.New(rand.NewSource(time.Now().Unix())).Intn(2) == 0
github.com/google/go-cmp/cmp/internal/diff
diff.go#L122: var randBool = rand.New(rand.NewSource(time.Now().Unix())).Intn(2) == 0
github.com/vmihailenco/msgpack/v5
time.go#L51: secs := uint64(tm.Unix())
golang.org/x/sys/unix
timestruct.go#L31: sec := t.Unix()
google.golang.org/protobuf/encoding/protojson
well_known_types.go#L823: secs := t.Unix()
google.golang.org/protobuf/types/known/timestamppb
timestamp.pb.go#L202: return &Timestamp{Seconds: int64(t.Unix()), Nanos: int32(t.Nanosecond())}
net/http
fs.go#L516: if t.Unix() == modtime.Unix() {
server.go#L1764: packedState := uint64(time.Now().Unix()<<8) | uint64(state)
server.go#L2812: if st == StateNew && unixSec < time.Now().Unix()-5 {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)