mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 22:58:44 +05:00
EventCost Balances -> Accounting, RatingUnits -> Rating
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user