DependenciesCData ODBC Driver for Amazon Marketplace 2019 - Build 19.0.7354
This section describes the dependencies for using Go with the CData ODBC Driver for Amazon Marketplace 2019.
Configure unixODBC (Linux and Mac Only)
Go ODBC uses unixOODBC on Linux and Mac, so make sure the driver is configured as described in Using unixODBC before continuing.
Install Go ODBC
Go ODBC can be installed through go get. You must also have Git installed for go get to download Go ODBC.
$ go get github.com/alexbrainman/odbc
Using Go ODBC
To use Go ODBC, you must import both the SQL package from the standard library as well as Go ODBC itself.
import ( "database/sql" _ "github.com/alexbrainman/odbc" )