go-goracle / goracle

Go database/sql driver for connecting to Oracle Database, using the ODPI-C library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error during compilation

tim33333 opened this issue · comments

Describe the bug
When I trying to build my app, I got an error

gopkg.in/goracle.v2

..\gopkg.in\goracle.v2\lob.go:196: cannot use typ (type C.uint) as type C.dpiOracleTypeNum in argument to func literal.

Screenshots
196 line is
image

Your oracle client version
12.1.0

Your goracle version
last version

Your go version
go version go1.9.2 windows/amd64

Your gcc version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0

Machine (please complete the following information):

  • OS: Windows Home
  • Architecture x86_64
  • Version: 10

After golang update to latest version problem solved. Thank you.