Browse Source

string darf nicht nil sein ...

test
Klaus Wendel 2 years ago
parent
commit
d3145de57c
  1. 2
      nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

2
nhooyrioWebsocketAddons/nhooyrioWebsocketAddons.go

@ -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…
Cancel
Save