May I ask if the golang1.10 version accesses the IBM DB2 database? (compile error with go-db2-cli)

Hello, everyone. Due to the need of my work, I have to use the go language to access the IBM DB2 database. At present, I only found a go-db2-cli driver on the Internet, but I got

when I downloaded it and wrote it according to an example.
../go/src/bitbucket.org/phiggins/go-db2-cli/mgodbc.go:126: duplicate case _Ctype_int in type switch
    previous case at ../go/src/bitbucket.org/phiggins/go-db2-cli/mgodbc.go:122
Error prompt for

.
the system I use is redhat6.8,golang version 1.10 and DB2 version V10.5. Please give me some advice on how to solve this compilation error, or whether there are other drivers that can connect to DB2. Thank you

Mar.13,2021

try this


you can try direct odbc access. I'm practicing this. If I'm free later, write some demo;
https://github.com/yyt030/go-.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b40a26-2c537.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b40a26-2c537.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?