type github.com/jackc/pgx/v5/pgtype.MacaddrCodec
9 uses
github.com/jackc/pgx/v5/pgtype (current package)
macaddr.go#L8: type MacaddrCodec struct{}
macaddr.go#L10: func (MacaddrCodec) FormatSupported(format int16) bool {
macaddr.go#L14: func (MacaddrCodec) PreferredFormat() int16 {
macaddr.go#L18: func (MacaddrCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan {
macaddr.go#L81: func (MacaddrCodec) PlanScan(m *Map, oid uint32, format int16, target any) ScanPlan {
macaddr.go#L147: func (c MacaddrCodec) DecodeDatabaseSQLValue(m *Map, oid uint32, format int16, src []byte) (driver.Value, error) {
macaddr.go#L151: func (c MacaddrCodec) DecodeValue(m *Map, oid uint32, format int16, src []byte) (any, error) {
pgtype_default.go#L73: defaultMap.RegisterType(&Type{Name: "macaddr8", OID: Macaddr8OID, Codec: MacaddrCodec{}})
pgtype_default.go#L74: defaultMap.RegisterType(&Type{Name: "macaddr", OID: MacaddrOID, Codec: MacaddrCodec{}})