mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-05-20 17:28:40 +00:00
24f6a447f3
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.17.2 to 4.18.1. - [Release notes](https://github.com/jackc/pgx/releases) - [Changelog](https://github.com/jackc/pgx/blob/v4.18.1/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v4.17.2...v4.18.1) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v4 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
44 lines
1,019 B
Go
44 lines
1,019 B
Go
package pgtype
|
|
|
|
import "database/sql/driver"
|
|
|
|
type CIDR Inet
|
|
|
|
func (dst *CIDR) Set(src interface{}) error {
|
|
return (*Inet)(dst).Set(src)
|
|
}
|
|
|
|
func (dst CIDR) Get() interface{} {
|
|
return (Inet)(dst).Get()
|
|
}
|
|
|
|
func (src *CIDR) AssignTo(dst interface{}) error {
|
|
return (*Inet)(src).AssignTo(dst)
|
|
}
|
|
|
|
func (dst *CIDR) DecodeText(ci *ConnInfo, src []byte) error {
|
|
return (*Inet)(dst).DecodeText(ci, src)
|
|
}
|
|
|
|
func (dst *CIDR) DecodeBinary(ci *ConnInfo, src []byte) error {
|
|
return (*Inet)(dst).DecodeBinary(ci, src)
|
|
}
|
|
|
|
func (src CIDR) EncodeText(ci *ConnInfo, buf []byte) ([]byte, error) {
|
|
return (Inet)(src).EncodeText(ci, buf)
|
|
}
|
|
|
|
func (src CIDR) EncodeBinary(ci *ConnInfo, buf []byte) ([]byte, error) {
|
|
return (Inet)(src).EncodeBinary(ci, buf)
|
|
}
|
|
|
|
// Scan implements the database/sql Scanner interface.
|
|
func (dst *CIDR) Scan(src interface{}) error {
|
|
return (*Inet)(dst).Scan(src)
|
|
}
|
|
|
|
// Value implements the database/sql/driver Valuer interface.
|
|
func (src CIDR) Value() (driver.Value, error) {
|
|
return (Inet)(src).Value()
|
|
}
|