Fix linting issues (#595)
* fix lint * Bump golangci-lint action to v8 and update linting args * fix lint errors * fix: correct loop condition in main function to process remaining arguments
This commit is contained in:
parent
22ad31b127
commit
2c2d378f86
10 changed files with 17 additions and 17 deletions
|
|
@ -18,7 +18,7 @@ func (l *singleConnListener) Accept() (net.Conn, error) {
|
|||
|
||||
// Addr implements net.Listener
|
||||
func (l *singleConnListener) Addr() net.Addr {
|
||||
return l.conn.LocalAddr()
|
||||
return l.LocalAddr()
|
||||
}
|
||||
|
||||
// Close implements net.Listener
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue