fix: handle error returns and unsafe type assertions in errcheck linter
This commit is contained in:
1 parent
9f5a2549e2
commit
79d46b2e65
4 files changed
+161
-70
No files matched your search
@@ -20,7 +20,6 @@ import (
|
||||
"github.com/xtaci/smux"
|
||||
)
|
||||
|
||||
const idleTimeout = 2 * time.Minute
|
||||
|
||||
func main() {
|
||||
listen := flag.String("listen", "0.0.0.0:56000", "listen on ip:port")
|
||||
|
||||
Reference in new issue
Block a user