diff --git a/default_decoders.go b/default_decoders.go new file mode 100644 index 0000000..2af1019 --- /dev/null +++ b/default_decoders.go @@ -0,0 +1,45 @@ +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) +}