EventCost Balances -> Accounting, RatingUnits -> Rating

This commit is contained in:
DanB
2017-05-17 20:58:58 +02:00
parent 324a81018c
commit bf1b302dd3
2 changed files with 27 additions and 23 deletions

View File

@@ -429,6 +429,10 @@ func TimePointer(t time.Time) *time.Time {
return &t
}
func DurationPointer(d time.Duration) *time.Duration {
return &d
}
func ReflectFuncLocation(handler interface{}) (file string, line int) {
f := runtime.FuncForPC(reflect.ValueOf(handler).Pointer())
entry := f.Entry()