Skip to content
forked from CengSin/oracle

GORM oracle driver, 修复了原作者代码中的几个问题

License

Notifications You must be signed in to change notification settings

jasonlabz/oracle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GORM Oracle Driver

Description

GORM Oracle driver for connect Oracle DB and Manage Oracle DB, Based on stevefan1999-personal/gorm-driver-oracle ,not recommended for use in a production environment

Required dependency Install

Quick Start

how to install

go get github.com/jasonlabz/oracle

usage

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

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

About

GORM oracle driver, 修复了原作者代码中的几个问题

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%