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:
Boshi Lian 2025-05-18 00:59:18 -07:00 committed by GitHub
parent 22ad31b127
commit 2c2d378f86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 17 additions and 17 deletions

View file

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