Replace interface{} with any

This commit is contained in:
ionutboangiu
2023-05-29 12:15:08 -04:00
committed by Dan Christian Bogos
parent 97c3dab0f4
commit 6c16ff320f
636 changed files with 6405 additions and 6405 deletions

View File

@@ -55,7 +55,7 @@ type ServiceManager struct {
}
// Call .
func (srvMngr *ServiceManager) Call(serviceMethod string, args interface{}, reply interface{}) error {
func (srvMngr *ServiceManager) Call(serviceMethod string, args any, reply any) error {
parts := strings.Split(serviceMethod, ".")
if len(parts) != 2 {
return rpcclient.ErrUnsupporteServiceMethod