type github.com/jackc/pgtype.Time
19 uses
github.com/jackc/pgtype (current package)
pgtype.go#L309: ci.RegisterDataType(DataType{Value: &Time{}, Name: "time", OID: TimeOID})
time.go#L18: type Time struct {
time.go#L24: func (dst *Time) Set(src interface{}) error {
time.go#L26: *dst = Time{Status: Null}
time.go#L43: *dst = Time{Microseconds: usec, Status: Present}
time.go#L46: *dst = Time{Status: Null}
time.go#L60: func (dst Time) Get() interface{} {
time.go#L71: func (src *Time) AssignTo(dst interface{}) error {
time.go#L106: func (dst *Time) DecodeText(ci *ConnInfo, src []byte) error {
time.go#L108: *dst = Time{Status: Null}
time.go#L150: *dst = Time{Microseconds: usec, Status: Present}
time.go#L156: func (dst *Time) DecodeBinary(ci *ConnInfo, src []byte) error {
time.go#L158: *dst = Time{Status: Null}
time.go#L167: *dst = Time{Microseconds: usec, Status: Present}
time.go#L173: func (src Time) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
time.go#L196: func (src Time) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
time.go#L208: func (dst *Time) Scan(src interface{}) error {
time.go#L210: *dst = Time{Status: Null}
time.go#L229: func (src Time) Value() (driver.Value, error) {
 |
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. |