string darf nicht nil sein ...

This commit is contained in:
Klaus Wendel, archium GmbH 2020-09-06 22:36:00 +02:00
parent 725a2a4c69
commit d3145de57c
1 changed files with 1 additions and 1 deletions

View File

@ -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