advsql/default_decoders.go

46 lines
947 B
Go
Raw Normal View History

2022-07-08 22:54:33 +02:00
package advsql
func IntDecoder(value *int, decode DecodeFunc) error {
return decode(value)
}
func Int8Decoder(value *int8, decode DecodeFunc) error {
return decode(value)
}
func Int16Decoder(value *int16, decode DecodeFunc) error {
return decode(value)
}
func Int32Decoder(value *int32, decode DecodeFunc) error {
return decode(value)
}
func Int64Decoder(value *int64, decode DecodeFunc) error {
return decode(value)
}
func Uint8Decoder(value *uint8, decode DecodeFunc) error {
return decode(value)
}
func Uint16Decoder(value *uint16, decode DecodeFunc) error {
return decode(value)
}
func Uint32Decoder(value *uint32, decode DecodeFunc) error {
return decode(value)
}
func Uint64Decoder(value *uint64, decode DecodeFunc) error {
return decode(value)
}
func Float32Decoder(value *float32, decode DecodeFunc) error {
return decode(value)
}
func Float64Decoder(value *float64, decode DecodeFunc) error {
return decode(value)
}