$ export ORACLE_DSN="oracle://system:SecretPassword1@localhost:1521/?SID=XE"
$ cd v2/module_test
$ go test -v -count 1 -p 1 ./
P/S: if a value stored in a floating point column (e.g. NUMERIC(x,y)) have zero fraction part (e.g. 123.00) then it is fetched as an integer (e.g. Go's int/uint).
I consider this is a bug because the fetched value should be in Go's float32/float64. Hence some tests currently fails.
v2/module_test/
.Start an Oracle instance locally with Docker:
Run tests:
P/S: if a value stored in a floating point column (e.g.
NUMERIC(x,y)
) have zero fraction part (e.g.123.00
) then it is fetched as an integer (e.g. Go'sint/uint
). I consider this is a bug because the fetched value should be in Go'sfloat32/float64
. Hence some tests currently fails.