diff --git a/rendezvous/rendezvousservertest/rendezvousservertest.go b/rendezvous/rendezvousservertest/rendezvousservertest.go index bb74680..8a82452 100644 --- a/rendezvous/rendezvousservertest/rendezvousservertest.go +++ b/rendezvous/rendezvousservertest/rendezvousservertest.go @@ -212,7 +212,7 @@ func (ts *TestServer) handleWS(w http.ResponseWriter, r *http.Request) { sendMsg(ack) } - errMsg := func(id string, orig interface{}, reason error) { + errMsg := func(_ string, orig interface{}, reason error) { errPacket := &msgs.Error{ Error: reason.Error(), Orig: orig, diff --git a/staticcheck.conf b/staticcheck.conf new file mode 100644 index 0000000..2a337d0 --- /dev/null +++ b/staticcheck.conf @@ -0,0 +1 @@ +checks = ["inherit", "ST1003", "ST1016", "ST1020", "ST1021", "ST1022"] \ No newline at end of file