Connecting a Go application to Oracle Database
In this article, I want to walk you through connecting a Go app to a local Oracle Database and to Autonomous Database on OCI (both on-prem and autonomous, with and without Oracle Client libraries).
That’s sounds like a lot, but I promise it’s easier than it sounds.
One application uses only package go_ora and does not require the Oracle Instant Client library. The other uses package godror (aka goracle) and requires the Oracle Instant Client. For connecting to the local database both applications only use simple connection…