Golang Oracle DB Example
This is a small example of connect and use Oracle DB in Golang
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