mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Address issues found by golint.
* No functional changes * Did not address the ALL_CAPS issues * Did not modify public APIs and field names.
This commit is contained in:
@@ -150,7 +150,7 @@ func expectSyslogOutput(t *testing.T, line string, expected string) {
|
||||
|
||||
func runSyslog(c net.PacketConn, done chan<- string) {
|
||||
var buf [4096]byte
|
||||
var rcvd string = ""
|
||||
var rcvd string
|
||||
for {
|
||||
n, _, err := c.ReadFrom(buf[:])
|
||||
if err != nil || n == 0 {
|
||||
|
||||
Reference in New Issue
Block a user