Refactoring, Bugfix & Updates

+ Refactored all imports
+ Fixed a bug for the logging regarding removing \n \t \r
+ Updated to current MGO release
+ Changed the name of ICCC
This commit is contained in:
Thorsten Sommer committed 2014-10-19 19:19:11 +02:00
1 parent b50066ef5d
commit f33f7b5c29
91 files changed
+496 -316

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
package CustomerDB
import "labix.org/v2/mgo"
import (
"gopkg.in/mgo.v2"
)
/*
Get the database instance of the MGo Mongo driver.
+6 -4
View File
@@ -1,9 +1,11 @@
package CustomerDB
import "labix.org/v2/mgo"
import "github.com/SommerEngineering/Ocean/ConfigurationDB"
import "github.com/SommerEngineering/Ocean/Log"
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
import (
"github.com/SommerEngineering/Ocean/ConfigurationDB"
"github.com/SommerEngineering/Ocean/Log"
LM "github.com/SommerEngineering/Ocean/Log/Meta"
"gopkg.in/mgo.v2"
)
func init() {
+4 -2
View File
@@ -1,7 +1,9 @@
package CustomerDB
import "github.com/SommerEngineering/Ocean/Log"
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
import (
"github.com/SommerEngineering/Ocean/Log"
LM "github.com/SommerEngineering/Ocean/Log/Meta"
)
/*
Please do not use this type. It is an internal type of Ocean to provide a shutdown function!
+4 -2
View File
@@ -1,7 +1,9 @@
package CustomerDB
import "labix.org/v2/mgo"
import LM "github.com/SommerEngineering/Ocean/Log/Meta"
import (
LM "github.com/SommerEngineering/Ocean/Log/Meta"
"gopkg.in/mgo.v2"
)
var (
mainSession *mgo.Session = nil