Oracle Developers
Published in

Oracle Developers

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…

--

--

--

Aggregation of articles from Oracle engineers, Groundbreaker Ambassadors, Oracle ACEs, and Java Champions on all things Oracle technology. The views expressed are those of the authors and not necessarily of Oracle.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lucas Jellema

Lucas Jellema

Lucas Jellema is solution architect and CTO at AMIS, The Netherlands. He is Oracle ACE Director, Groundbreaker Ambassador, JavaOne Rockstar and programmer

More from Medium

Interacting with OCI Object Storage using Go SDK (first steps)

Deploy an EFK stack to Kubernetes

Logging Architectures, EFK Stack and Kubernetes

How to Orchestrate microservices with KubeMQ Messaging Platform

Instrumenting Any Application for Custom metric using Prometheus.