type github.com/jackc/pgtype.Bytea
38 uses
github.com/jackc/pgtype (current package)
bytea.go#L9: type Bytea struct {
bytea.go#L14: func (dst *Bytea) Set(src interface{}) error {
bytea.go#L16: *dst = Bytea{Status: Null}
bytea.go#L30: *dst = Bytea{Bytes: value, Status: Present}
bytea.go#L32: *dst = Bytea{Status: Null}
bytea.go#L44: func (dst Bytea) Get() interface{} {
bytea.go#L55: func (src *Bytea) AssignTo(dst interface{}) error {
bytea.go#L79: func (dst *Bytea) DecodeText(ci *ConnInfo, src []byte) error {
bytea.go#L81: *dst = Bytea{Status: Null}
bytea.go#L95: *dst = Bytea{Bytes: buf, Status: Present}
bytea.go#L99: func (dst *Bytea) DecodeBinary(ci *ConnInfo, src []byte) error {
bytea.go#L101: *dst = Bytea{Status: Null}
bytea.go#L105: *dst = Bytea{Bytes: src, Status: Present}
bytea.go#L109: func (src Bytea) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
bytea.go#L122: func (src Bytea) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
bytea.go#L134: func (dst *Bytea) Scan(src interface{}) error {
bytea.go#L136: *dst = Bytea{Status: Null}
bytea.go#L146: *dst = Bytea{Bytes: buf, Status: Present}
bytea.go#L154: func (src Bytea) Value() (driver.Value, error) {
bytea_array.go#L15: Elements []Bytea
bytea_array.go#L43: elements := make([]Bytea, len(value))
bytea_array.go#L56: case []Bytea:
bytea_array.go#L94: Elements: make([]Bytea, elementsLength),
bytea_array.go#L111: dst.Elements = make([]Bytea, elementsLength)
bytea_array.go#L292: var elements []Bytea
bytea_array.go#L295: elements = make([]Bytea, len(uta.Elements))
bytea_array.go#L298: var elem Bytea
bytea_array.go#L339: elements := make([]Bytea, elementCount)
generic_binary.go#L9: type GenericBinary Bytea
generic_binary.go#L12: return (*Bytea)(dst).Set(src)
generic_binary.go#L16: return (Bytea)(dst).Get()
generic_binary.go#L20: return (*Bytea)(src).AssignTo(dst)
generic_binary.go#L24: return (*Bytea)(dst).DecodeBinary(ci, src)
generic_binary.go#L28: return (Bytea)(src).EncodeBinary(ci, buf)
generic_binary.go#L33: return (*Bytea)(dst).Scan(src)
generic_binary.go#L38: return (Bytea)(src).Value()
pgtype.go#L278: ci.RegisterDataType(DataType{Value: &Bytea{}, Name: "bytea", OID: ByteaOID})
pgtype.go#L895: "bytea": &Bytea{},
 |
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. |