Skip to content

captain-corgi/golang-oracledb-example

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

About

An example of using Oracle DB with Golang

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published