Golang Oracle DB Example

captain-corgi

Captain Corgi

Posted on March 2, 2022

Golang Oracle DB Example

This is a small example of connect and use Oracle DB in Golang

Check out at:
https://github.com/captain-corgi/golang-oracledb-example

Materials
Tutorals:

https://www.oracletutorial.com/

Driver:

https://github.com/sijms/go-ora

Custom Dialector for GORM references from:

https://github.com/CengSin/oracle

Gorm (With my oracle custom dialector):

https://gorm.io/

Note
Container Database: Username: SYS

Role: SYSDBA

Password: Oradoc_db1

Host: localhost

SID: ORCLCDB
Pluggable Database: Username: SYS

Role: SYSDBA

Password: Oradoc_db1

Host: localhost

Service Name: ORCLPDB1.localdomain
The download page (with details and > comments) is here:

https://hub.docker.com/_/oracle-database-enterprise-edition

💖 💪 🙅 🚩
captain-corgi
Captain Corgi

Posted on March 2, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related