Categorygithub.com/scfhao/gorm
repositorypackage
1.9.13
Repository: https://github.com/scfhao/gorm.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

GORM

The fantastic ORM library for Golang, aims to be developer friendly.

go report card wercker status codecov Join the chat at https://gitter.im/jinzhu/gorm Open Collective Backer Open Collective Sponsor MIT license GoDoc

Overview

参考此博客增加的对 Oracle 数据库的支持。版本号与原版将保持一致。如未用到 Oracle 数据库,请使用原版。

建立此仓库旨在维护 dialect_oracle.go 文件,此文件来自上述博客。

使用方法

import (
	_ "github.com/mattn/go-oci8"
	_ "github.com/scfhao/gorm/dialects/oci8"
	"github.com/scfhao/gorm"
)

// if use SID, "username/password@tnsname"
db, err := gorm.Open("oci8", "username/[email protected]:1521/ServiceName")

License

© Jinzhu, 2013~time.Now

Released under the MIT License