type github.com/jackc/pgtype.Bool
37 uses
github.com/jackc/pgtype (current package)
bool.go#L10: type Bool struct {
bool.go#L15: func (dst *Bool) Set(src interface{}) error {
bool.go#L17: *dst = Bool{Status: Null}
bool.go#L30: *dst = Bool{Bool: value, Status: Present}
bool.go#L36: *dst = Bool{Bool: bb, Status: Present}
bool.go#L39: *dst = Bool{Status: Null}
bool.go#L45: *dst = Bool{Status: Null}
bool.go#L59: func (dst Bool) Get() interface{} {
bool.go#L70: func (src *Bool) AssignTo(dst interface{}) error {
bool.go#L90: func (dst *Bool) DecodeText(ci *ConnInfo, src []byte) error {
bool.go#L92: *dst = Bool{Status: Null}
bool.go#L100: *dst = Bool{Bool: src[0] == 't', Status: Present}
bool.go#L104: func (dst *Bool) DecodeBinary(ci *ConnInfo, src []byte) error {
bool.go#L106: *dst = Bool{Status: Null}
bool.go#L114: *dst = Bool{Bool: src[0] == 1, Status: Present}
bool.go#L118: func (src Bool) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
bool.go#L135: func (src Bool) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
bool.go#L153: func (dst *Bool) Scan(src interface{}) error {
bool.go#L155: *dst = Bool{Status: Null}
bool.go#L161: *dst = Bool{Bool: src, Status: Present}
bool.go#L175: func (src Bool) Value() (driver.Value, error) {
bool.go#L186: func (src Bool) MarshalJSON() ([]byte, error) {
bool.go#L203: func (dst *Bool) UnmarshalJSON(b []byte) error {
bool.go#L211: *dst = Bool{Status: Null}
bool.go#L213: *dst = Bool{Bool: *v, Status: Present}
bool_array.go#L15: Elements []Bool
bool_array.go#L43: elements := make([]Bool, len(value))
bool_array.go#L62: elements := make([]Bool, len(value))
bool_array.go#L75: case []Bool:
bool_array.go#L113: Elements: make([]Bool, elementsLength),
bool_array.go#L130: dst.Elements = make([]Bool, elementsLength)
bool_array.go#L320: var elements []Bool
bool_array.go#L323: elements = make([]Bool, len(uta.Elements))
bool_array.go#L326: var elem Bool
bool_array.go#L367: elements := make([]Bool, elementCount)
pgtype.go#L275: ci.RegisterDataType(DataType{Value: &Bool{}, Name: "bool", OID: BoolOID})
pgtype.go#L892: "bool": &Bool{},
 |
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. |