ODBC Driver for Excel Services

Build 20.0.7587

Dependencies

This section describes the dependencies for using Go with the CData ODBC Driver for Excel Services.

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"
)

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587