Updated on 2023-10-23 GMT+08:00

Go Driver Package and Driver Class

Go Driver Package

Obtain release package provided by GaussDB.

Obtain the GaussDB -Kernel-VxxxRxxxCxx-OS version number-64bit-Go.tar.gz package from the release package. Decompress the package to obtain the Go driver source code package.

The Go driver package provided by the database depends on Go 1.13 or later.

Driver Class

When creating a database connection, you need to enter the database driver name opengauss.

The Go driver provided by the database does not adapt to mature ORM frameworks (such as XORM) in the industry. As such, the driver name input during database connection creation must be compatible with Postgres and PostgreSQL.

The Go driver of the database cannot coexist with that of PostgreSQL.