type github.com/jackc/pgtype.Interval
19 uses
github.com/jackc/pgtype (current package)
interval.go#L22: type Interval struct {
interval.go#L29: func (dst *Interval) Set(src interface{}) error {
interval.go#L31: *dst = Interval{Status: Null}
interval.go#L44: *dst = Interval{Microseconds: int64(value) / 1000, Status: Present}
interval.go#L55: func (dst Interval) Get() interface{} {
interval.go#L66: func (src *Interval) AssignTo(dst interface{}) error {
interval.go#L87: func (dst *Interval) DecodeText(ci *ConnInfo, src []byte) error {
interval.go#L89: *dst = Interval{Status: Null}
interval.go#L166: *dst = Interval{Months: months, Days: days, Microseconds: microseconds, Status: Present}
interval.go#L170: func (dst *Interval) DecodeBinary(ci *ConnInfo, src []byte) error {
interval.go#L172: *dst = Interval{Status: Null}
interval.go#L184: *dst = Interval{Microseconds: microseconds, Days: days, Months: months, Status: Present}
interval.go#L188: func (src Interval) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
interval.go#L222: func (src Interval) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
interval.go#L236: func (dst *Interval) Scan(src interface{}) error {
interval.go#L238: *dst = Interval{Status: Null}
interval.go#L255: func (src Interval) Value() (driver.Value, error) {
pgtype.go#L293: ci.RegisterDataType(DataType{Value: &Interval{}, Name: "interval", OID: IntervalOID})
pgtype.go#L911: "interval": &Interval{},
 |
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. |