summaryrefslogtreecommitdiff
path: root/rhimport/core.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-28 21:11:03 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-28 21:11:03 (GMT)
commit3d531954d12cbc09a8791581b1911e6e39d86203 (patch)
tree3a6ce23063922ccb5a0f613da60b49caf2d8bd6e /rhimport/core.go
parentc7f6ff81175a78c4fb497a5ac98c3806457f762f (diff)
major name refactoring for rddb and player as well
Diffstat (limited to 'rhimport/core.go')
-rw-r--r--rhimport/core.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rhimport/core.go b/rhimport/core.go
index f01ed77..bf4a57e 100644
--- a/rhimport/core.go
+++ b/rhimport/core.go
@@ -137,7 +137,7 @@ type AttachmentChunk struct {
type Context struct {
conf *Config
- db *rddb.DBChan
+ db *rddb.DB
stdlog *log.Logger
dbglog *log.Logger
UserName string
@@ -169,7 +169,7 @@ type Context struct {
Cancel <-chan bool
}
-func NewContext(conf *Config, db *rddb.DBChan, stdlog, dbglog *log.Logger) *Context {
+func NewContext(conf *Config, db *rddb.DB, stdlog, dbglog *log.Logger) *Context {
if stdlog == nil {
stdlog = log.New(ioutil.Discard, "", 0)
}