good morning!!!!
Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
fix helper
· eb83fd68
a
authored
Feb 28, 2023
eb83fd68
Hide whitespace changes
Inline
Side-by-side
helper.go
View file @
eb83fd68
...
...
@@ -4,7 +4,7 @@ import "context"
func
Do
[
T
any
](
ctx
context
.
Context
,
c
Conn
,
method
string
,
args
any
)
(
*
T
,
error
)
{
var
t
T
err
:=
c
.
Do
(
ctx
,
&
t
,
method
,
args
)
err
:=
c
.
Call
(
ctx
,
&
t
,
method
,
args
)
if
err
!=
nil
{
return
nil
,
err
}
...
...