README ¶ di-oracle oracle connection with DI Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func ToGorm(db *sql.DB) (*gorm.DB, error) type OracleSetting Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ToGorm ¶ func ToGorm(db *sql.DB) (*gorm.DB, error) make sql.DB to gorm.DB, but only support gorm.Raw, nothing else. Types ¶ type OracleSetting ¶ type OracleSetting struct { Host string Port int Service string User string Password string Mustconnected bool // should test oracle connection when bootup } Source Files ¶ View all Source files oracleClient.go Click to show internal directories. Click to hide internal directories.