Newer go version 1.13 and above support
[ric-plt/xapp-frame.git] / pkg / xapp / xapp.go
index e8f47ef..ad62e36 100755 (executable)
@@ -29,11 +29,18 @@ import (
        "strings"
        "sync/atomic"
        "syscall"
+       "testing"
        "time"
 
        "github.com/spf13/viper"
 )
 
+// For testing purpose go version 1.13 ->
+var _ = func() bool {
+       testing.Init()
+       return true
+}()
+
 type ReadyCB func(interface{})
 type ShutdownCB func()