type github.com/jackc/pgtype.Text
97 uses
github.com/jackc/pgtype (current package)
bpchar.go#L9: type BPChar Text
bpchar.go#L13: return (*Text)(dst).Set(src)
bpchar.go#L18: return (Text)(dst).Get()
bpchar.go#L33: return (*Text)(src).AssignTo(dst)
bpchar.go#L41: return (*Text)(dst).DecodeText(ci, src)
bpchar.go#L45: return (*Text)(dst).DecodeBinary(ci, src)
bpchar.go#L53: return (Text)(src).EncodeText(ci, buf)
bpchar.go#L57: return (Text)(src).EncodeBinary(ci, buf)
bpchar.go#L62: return (*Text)(dst).Scan(src)
bpchar.go#L67: return (Text)(src).Value()
bpchar.go#L71: return (Text)(src).MarshalJSON()
bpchar.go#L75: return (*Text)(dst).UnmarshalJSON(b)
generic_text.go#L9: type GenericText Text
generic_text.go#L12: return (*Text)(dst).Set(src)
generic_text.go#L16: return (Text)(dst).Get()
generic_text.go#L20: return (*Text)(src).AssignTo(dst)
generic_text.go#L24: return (*Text)(dst).DecodeText(ci, src)
generic_text.go#L28: return (Text)(src).EncodeText(ci, buf)
generic_text.go#L33: return (*Text)(dst).Scan(src)
generic_text.go#L38: return (Text)(src).Value()
hstore.go#L19: Map map[string]Text
hstore.go#L38: m := make(map[string]Text, len(value))
hstore.go#L40: m[k] = Text{String: v, Status: Present}
hstore.go#L98: m := make(map[string]Text, len(keys))
hstore.go#L121: m := make(map[string]Text, pairCount)
hstore.go#L148: var value Text
hstore.go#L284: func parseHstore(s string) (k []string, v []Text, err error) {
hstore.go#L291: values := []Text{}
hstore.go#L352: values = append(values, Text{String: buf.String(), Status: Present})
hstore.go#L381: values = append(values, Text{Status: Null})
name.go#L20: type Name Text
name.go#L23: return (*Text)(dst).Set(src)
name.go#L27: return (Text)(dst).Get()
name.go#L31: return (*Text)(src).AssignTo(dst)
name.go#L35: return (*Text)(dst).DecodeText(ci, src)
name.go#L39: return (*Text)(dst).DecodeBinary(ci, src)
name.go#L43: return (Text)(src).EncodeText(ci, buf)
name.go#L47: return (Text)(src).EncodeBinary(ci, buf)
name.go#L52: return (*Text)(dst).Scan(src)
name.go#L57: return (Text)(src).Value()
pgtype.go#L307: ci.RegisterDataType(DataType{Value: &Text{}, Name: "text", OID: TextOID})
pgtype.go#L925: "text": &Text{},
text.go#L9: type Text struct {
text.go#L14: func (dst *Text) Set(src interface{}) error {
text.go#L16: *dst = Text{Status: Null}
text.go#L29: *dst = Text{String: value, Status: Present}
text.go#L32: *dst = Text{Status: Null}
text.go#L34: *dst = Text{String: *value, Status: Present}
text.go#L38: *dst = Text{Status: Null}
text.go#L40: *dst = Text{String: string(value), Status: Present}
text.go#L52: func (dst Text) Get() interface{} {
text.go#L63: func (src *Text) AssignTo(dst interface{}) error {
text.go#L87: func (Text) PreferredResultFormat() int16 {
text.go#L91: func (dst *Text) DecodeText(ci *ConnInfo, src []byte) error {
text.go#L93: *dst = Text{Status: Null}
text.go#L97: *dst = Text{String: string(src), Status: Present}
text.go#L101: func (dst *Text) DecodeBinary(ci *ConnInfo, src []byte) error {
text.go#L105: func (Text) PreferredParamFormat() int16 {
text.go#L109: func (src Text) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
text.go#L120: func (src Text) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
text.go#L125: func (dst *Text) Scan(src interface{}) error {
text.go#L127: *dst = Text{Status: Null}
text.go#L144: func (src Text) Value() (driver.Value, error) {
text.go#L155: func (src Text) MarshalJSON() ([]byte, error) {
text.go#L168: func (dst *Text) UnmarshalJSON(b []byte) error {
text.go#L176: *dst = Text{Status: Null}
text.go#L178: *dst = Text{String: *s, Status: Present}
text_array.go#L15: Elements []Text
text_array.go#L43: elements := make([]Text, len(value))
text_array.go#L62: elements := make([]Text, len(value))
text_array.go#L75: case []Text:
text_array.go#L113: Elements: make([]Text, elementsLength),
text_array.go#L130: dst.Elements = make([]Text, elementsLength)
text_array.go#L320: var elements []Text
text_array.go#L323: elements = make([]Text, len(uta.Elements))
text_array.go#L326: var elem Text
text_array.go#L367: elements := make([]Text, elementCount)
unknown.go#L15: return (*Text)(dst).Set(src)
unknown.go#L19: return (Text)(dst).Get()
unknown.go#L25: return (*Text)(src).AssignTo(dst)
unknown.go#L29: return (*Text)(dst).DecodeText(ci, src)
unknown.go#L33: return (*Text)(dst).DecodeBinary(ci, src)
unknown.go#L38: return (*Text)(dst).Scan(src)
unknown.go#L43: return (Text)(src).Value()
varchar.go#L7: type Varchar Text
varchar.go#L13: return (*Text)(dst).Set(src)
varchar.go#L17: return (Text)(dst).Get()
varchar.go#L23: return (*Text)(src).AssignTo(dst)
varchar.go#L31: return (*Text)(dst).DecodeText(ci, src)
varchar.go#L35: return (*Text)(dst).DecodeBinary(ci, src)
varchar.go#L43: return (Text)(src).EncodeText(ci, buf)
varchar.go#L47: return (Text)(src).EncodeBinary(ci, buf)
varchar.go#L52: return (*Text)(dst).Scan(src)
varchar.go#L57: return (Text)(src).Value()
varchar.go#L61: return (Text)(src).MarshalJSON()
varchar.go#L65: return (*Text)(dst).UnmarshalJSON(b)
github.com/jackc/pgx/v4
conn.go#L374: var name pgtype.Text
 |
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. |