Golang Oracle DB Example
Captain Corgi

Captain Corgi @captain-corgi

About: Passionate Gopher exploring the transformative potential of Generative AI in professional and personal projects 🤗 ✨ Dedicated to designing scalable, efficient, and innovative solutions that leverage

Joined:
Feb 19, 2020

Golang Oracle DB Example

Publish Date: Mar 2 '22
14 0

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

Comments 0 total

    Add comment