mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 00:58:45 +05:00
started action balance pointer filtering
This commit is contained in:
@@ -337,6 +337,10 @@ func Fib() func() time.Duration {
|
||||
|
||||
// Utilities to provide pointers where we need to define ad-hoc
|
||||
func StringPointer(str string) *string {
|
||||
if str == ZERO {
|
||||
str = ""
|
||||
return &str
|
||||
}
|
||||
return &str
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user