Oracle Magazine, May/June 2019
ORACLE MAGAZINE MAY JUNE 2019 73 Database Developer OPEN SOURCE func main connectString os Getenv OADB_ CONNECTSTRING db err sql Open goracle connectString if err nil panic err defer db Close row db QueryRow select Connected to Oracle Autonomous Transaction Processing from Go from dual var strCol string err row Scan strCol if err nil panic err fmt Printf s n strCol 3 Run the goDemo go file in Go with the following command go build goDemo go goDemo
You must have JavaScript enabled to view digital editions.