mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
use cgrates/gorm for stability
This commit is contained in:
@@ -25,7 +25,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
"github.com/jinzhu/gorm"
|
||||
"github.com/cgrates/gorm"
|
||||
)
|
||||
|
||||
func NewMySQLStorage(host, port, name, user, password string, maxConn, maxIdleConn int) (Storage, error) {
|
||||
|
||||
@@ -27,7 +27,7 @@ import (
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
|
||||
_ "github.com/bmizerany/pq"
|
||||
"github.com/jinzhu/gorm"
|
||||
"github.com/cgrates/gorm"
|
||||
)
|
||||
|
||||
type PostgresStorage struct {
|
||||
|
||||
@@ -30,8 +30,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
"github.com/cgrates/gorm"
|
||||
"github.com/go-sql-driver/mysql"
|
||||
"github.com/jinzhu/gorm"
|
||||
)
|
||||
|
||||
type SQLStorage struct {
|
||||
|
||||
@@ -13,7 +13,7 @@ libs = ('github.com/bmizerany/pq',
|
||||
'github.com/go-sql-driver/mysql',
|
||||
'github.com/hoisie/redis'
|
||||
'github.com/howeyc/fsnotify',
|
||||
'github.com/jinzhu/gorm',
|
||||
'github.com/cgrates/gorm',
|
||||
'github.com/gorhill/cronexpr',
|
||||
"github.com/DisposaBoy/JsonConfigReader"
|
||||
)
|
||||
|
||||
@@ -10,7 +10,7 @@ go get -u -v github.com/hoisie/redis
|
||||
go get -u -v github.com/howeyc/fsnotify
|
||||
go get -u -v github.com/cgrates/liner
|
||||
go get -u -v github.com/cgrates/rpcclient
|
||||
go get -u -v github.com/jinzhu/gorm
|
||||
go get -u -v github.com/cgrates/gorm
|
||||
go get -u -v github.com/gorhill/cronexpr
|
||||
go get -u -v github.com/cgrates/kamevapi
|
||||
go get -u -v github.com/DisposaBoy/JsonConfigReader
|
||||
|
||||
Reference in New Issue
Block a user