irby / passwordless-authenticator-poc

Use plain channel send or receive SCC-S1000
Anti-pattern
Major
2 years ago2 years old
should use for range instead of for { select {} }
252		c.socket.Close()
253	}()
254
255	for {256		select {
257		case message, ok := <-c.send:
258			if !ok {