github.com/jackc/pgtype.Interval.Days (field)
7 uses
github.com/jackc/pgtype (current package)
interval.go#L24: Days int32
interval.go#L71: us := int64(src.Months)*microsecondsPerMonth + int64(src.Days)*microsecondsPerDay + src.Microseconds
interval.go#L166: *dst = Interval{Months: months, Days: days, Microseconds: microseconds, Status: Present}
interval.go#L184: *dst = Interval{Microseconds: microseconds, Days: days, Months: months, Status: Present}
interval.go#L201: if src.Days != 0 {
interval.go#L202: buf = append(buf, strconv.FormatInt(int64(src.Days), 10)...)
interval.go#L231: buf = pgio.AppendInt32(buf, src.Days)
![]() |
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. |