Skip to content

moveaxlab/oracle

 
 

Repository files navigation

GORM Oracle Driver

Description

GORM Oracle driver for connect Oracle DB and Manage Oracle DB, forked from CengSin/oracle.

Required dependency Install

Quick Start

how to install

go get github.com/moveaxlab/oracle

usage

import (
	"fmt"
	"github.com/moveaxlab/oracle"
	"gorm.io/gorm"
	"log"
)

func main() {
    db, err := gorm.Open(oracle.Open("system/oracle@127.0.0.1:1521/XE"), &gorm.Config{})
    if err != nil {
        // panic error or log error info
    } 
    
    // do somethings
}

Releases

No releases published

Packages

 
 
 

Languages

  • Go 99.0%
  • Dockerfile 1.0%