string darf nicht nil sein ...
This commit is contained in:
parent
725a2a4c69
commit
d3145de57c
|
@ -34,7 +34,7 @@ func WsjsonReceive(ctx context.Context, conn *websocket.Conn, dosth func(interfa
|
|||
if dosth != nil {
|
||||
sendval = dosth(receiveval)
|
||||
} else {
|
||||
sendval = nil //It doesn't make sense to return unprocess receiveval
|
||||
sendval = "" //It doesn't make sense to return unprocess receiveval
|
||||
}
|
||||
|
||||
//Send
|
||||
|
|
Loading…
Reference in New Issue