type github.com/jackc/pgtype.Timestamp
39 uses
github.com/jackc/pgtype (current package)
pgtype.go#L310: ci.RegisterDataType(DataType{Value: &Timestamp{}, Name: "timestamp", OID: TimestampOID})
pgtype.go#L927: "timestamp": &Timestamp{},
timestamp.go#L19: type Timestamp struct {
timestamp.go#L27: func (dst *Timestamp) Set(src interface{}) error {
timestamp.go#L29: *dst = Timestamp{Status: Null}
timestamp.go#L42: *dst = Timestamp{Time: time.Date(value.Year(), value.Month(), value.Day(), value.Hour(), value.Minute(), value.Second(), value.Nanosecond(), time.UTC), Status: Present}
timestamp.go#L45: *dst = Timestamp{Status: Null}
timestamp.go#L50: *dst = Timestamp{InfinityModifier: value, Status: Present}
timestamp.go#L61: func (dst Timestamp) Get() interface{} {
timestamp.go#L75: func (src *Timestamp) AssignTo(dst interface{}) error {
timestamp.go#L100: func (dst *Timestamp) DecodeText(ci *ConnInfo, src []byte) error {
timestamp.go#L102: *dst = Timestamp{Status: Null}
timestamp.go#L109: *dst = Timestamp{Status: Present, InfinityModifier: Infinity}
timestamp.go#L111: *dst = Timestamp{Status: Present, InfinityModifier: -Infinity}
timestamp.go#L118: *dst = Timestamp{Time: tim, Status: Present}
timestamp.go#L126: func (dst *Timestamp) DecodeBinary(ci *ConnInfo, src []byte) error {
timestamp.go#L128: *dst = Timestamp{Status: Null}
timestamp.go#L140: *dst = Timestamp{Status: Present, InfinityModifier: Infinity}
timestamp.go#L142: *dst = Timestamp{Status: Present, InfinityModifier: -Infinity}
timestamp.go#L146: *dst = Timestamp{Time: tim, Status: Present}
timestamp.go#L154: func (src Timestamp) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
timestamp.go#L181: func (src Timestamp) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
timestamp.go#L207: func (dst *Timestamp) Scan(src interface{}) error {
timestamp.go#L209: *dst = Timestamp{Status: Null}
timestamp.go#L221: *dst = Timestamp{Time: src, Status: Present}
timestamp.go#L229: func (src Timestamp) Value() (driver.Value, error) {
timestamp_array.go#L16: Elements []Timestamp
timestamp_array.go#L44: elements := make([]Timestamp, len(value))
timestamp_array.go#L63: elements := make([]Timestamp, len(value))
timestamp_array.go#L76: case []Timestamp:
timestamp_array.go#L114: Elements: make([]Timestamp, elementsLength),
timestamp_array.go#L131: dst.Elements = make([]Timestamp, elementsLength)
timestamp_array.go#L321: var elements []Timestamp
timestamp_array.go#L324: elements = make([]Timestamp, len(uta.Elements))
timestamp_array.go#L327: var elem Timestamp
timestamp_array.go#L368: elements := make([]Timestamp, elementCount)
tsrange.go#L11: Lower Timestamp
tsrange.go#L12: Upper Timestamp
github.com/jackc/pgx/v4/stdlib
sql.go#L638: var d pgtype.Timestamp
 |
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. |