mirror of
https://github.com/foomo/gotsrpc.git
synced 2025-10-16 12:35:35 +00:00
handling of string params
This commit is contained in:
parent
6da67fa249
commit
d02667d1e5
2
go.go
2
go.go
@ -299,7 +299,7 @@ func renderTSRPCServiceProxies(services map[string]*Service, fullPackageName str
|
||||
skipArgI++
|
||||
}
|
||||
g.l("args = []interface{}{" + strings.Join(args, ", ") + "}")
|
||||
g.l("err := gotsrpc.LoadArgs(args, callStats, r)")
|
||||
g.l("err := gotsrpc.LoadArgs(&args, callStats, r)")
|
||||
g.l("if err != nil {")
|
||||
g.ind(1)
|
||||
g.l("gotsrpc.ErrorCouldNotLoadArgs(w)")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user