Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.
/ goracle Public archive

Go database/sql driver for connecting to Oracle Database, using the ODPI-C library

Notifications You must be signed in to change notification settings

go-goracle/goracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 

Repository files navigation

Goracle is deprecated because of naming (trademark) issues.

Please use github.com/godror/godror instead!

You can use "sed" to change everything:

sed -i -e 's,goracle "gopkg.in/goracle.v2",godror "github.com/godror/godror",g; s,gopkg.in/goracle.v2,github.com/godror/godror,g; s/"goracle"/"godror"/g; s/goracle[.]/godror./g' $(find . -type f -name '*.go')
sed -i -e '/goracle.v2/d' go.mod

To change everything using modules:

for dn in $(fgrep -l goracle.v2 $(find . -type f -name 'go.mod') | sed -e 's,/go.mod$,,'); do 
  (cd "$dn" && git pull && sed -i -e 's,goracle "gopkg.in/goracle.v2",godror "github.com/godror/godror",g; s,gopkg.in/goracle.v2,github.com/godror/godror,g; s/"goracle"/"godror"/g; s/goracle[.]/godror./g' $(find . -type f -name '*.go') && sed -i -e '/goracle.v2/d' go.mod  && git commit -am 'goracle -> godror' && git push)
done 

About

Go database/sql driver for connecting to Oracle Database, using the ODPI-C library

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published