type github.com/jackc/pgtype.Point
23 uses
github.com/jackc/pgtype (current package)
pgtype.go#L304: ci.RegisterDataType(DataType{Value: &Point{}, Name: "point", OID: PointOID})
pgtype.go#L922: "point": &Point{},
point.go#L20: type Point struct {
point.go#L25: func (dst *Point) Set(src interface{}) error {
point.go#L31: var p *Point
point.go#L47: func parsePoint(src []byte) (*Point, error) {
point.go#L49: return &Point{Status: Null}, nil
point.go#L73: return &Point{P: Vec2{x, y}, Status: Present}, nil
point.go#L76: func (dst Point) Get() interface{} {
point.go#L87: func (src *Point) AssignTo(dst interface{}) error {
point.go#L91: func (dst *Point) DecodeText(ci *ConnInfo, src []byte) error {
point.go#L93: *dst = Point{Status: Null}
point.go#L116: *dst = Point{P: Vec2{x, y}, Status: Present}
point.go#L120: func (dst *Point) DecodeBinary(ci *ConnInfo, src []byte) error {
point.go#L122: *dst = Point{Status: Null}
point.go#L133: *dst = Point{
point.go#L140: func (src Point) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
point.go#L154: func (src Point) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
point.go#L168: func (dst *Point) Scan(src interface{}) error {
point.go#L170: *dst = Point{Status: Null}
point.go#L187: func (src Point) Value() (driver.Value, error) {
point.go#L191: func (src Point) MarshalJSON() ([]byte, error) {
point.go#L207: func (dst *Point) UnmarshalJSON(point []byte) 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. |