switched to peterh liner and fixed commands

This commit is contained in:
Radu Ioan Fericean
2014-04-27 00:41:34 +03:00
parent 509e3cde45
commit a365e90c1d
3 changed files with 10 additions and 9 deletions

View File

@@ -31,7 +31,7 @@ import (
"github.com/cgrates/cgrates/console"
"github.com/cgrates/cgrates/utils"
"github.com/rif/liner"
"github.com/peterh/liner"
)
var (

View File

@@ -137,6 +137,7 @@ func main() {
path.Join(*dataPath, utils.RATING_PLANS_CSV),
path.Join(*dataPath, utils.RATING_PROFILES_CSV),
path.Join(*dataPath, utils.SHARED_GROUPS_CSV),
path.Join(*dataPath, utils.LCRS_CSV),
path.Join(*dataPath, utils.ACTIONS_CSV),
path.Join(*dataPath, utils.ACTION_PLANS_CSV),
path.Join(*dataPath, utils.ACTION_TRIGGERS_CSV),

View File

@@ -150,14 +150,14 @@ func main() {
defer pprof.StopCPUProfile()
}
cd := &engine.CallDescriptor{
TimeStart: time.Date(2014, time.December, 11, 55, 30, 0, 0, time.UTC),
TimeEnd: time.Date(2014, time.December, 11, 55, 31, 0, 0, time.UTC),
CallDuration: 60 * time.Second,
Direction: "*out",
TOR: *tor,
Tenant: *tenant,
Subject: *subject,
Destination: *destination,
TimeStart: time.Date(2014, time.December, 11, 55, 30, 0, 0, time.UTC),
TimeEnd: time.Date(2014, time.December, 11, 55, 31, 0, 0, time.UTC),
DurationIndex: 60 * time.Second,
Direction: "*out",
TOR: *tor,
Tenant: *tenant,
Subject: *subject,
Destination: *destination,
}
var duration time.Duration
var err error