From ee4a358a787ba02ef765631a5ca3ab36251eeb55 Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Mon, 2 Mar 2015 14:18:36 +0200 Subject: [PATCH] use cgrates/gorm for stability --- engine/storage_mysql.go | 2 +- engine/storage_postgres.go | 2 +- engine/storage_sql.go | 2 +- hard_update_external_libs.py | 2 +- update_external_libs.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/engine/storage_mysql.go b/engine/storage_mysql.go index 6d3ae831b..ed070c21f 100644 --- a/engine/storage_mysql.go +++ b/engine/storage_mysql.go @@ -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) { diff --git a/engine/storage_postgres.go b/engine/storage_postgres.go index 272780b22..c2e82e700 100644 --- a/engine/storage_postgres.go +++ b/engine/storage_postgres.go @@ -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 { diff --git a/engine/storage_sql.go b/engine/storage_sql.go index 668cb40d4..022e9edad 100644 --- a/engine/storage_sql.go +++ b/engine/storage_sql.go @@ -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 { diff --git a/hard_update_external_libs.py b/hard_update_external_libs.py index 17edeb87a..a59519c5b 100755 --- a/hard_update_external_libs.py +++ b/hard_update_external_libs.py @@ -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" ) diff --git a/update_external_libs.sh b/update_external_libs.sh index 49e2bb42a..1a293d934 100755 --- a/update_external_libs.sh +++ b/update_external_libs.sh @@ -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