mirror of
https://github.com/lwch/natpass
synced 2025-09-26 17:51:11 +08:00
修正lint问题
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/lwch/runtime"
|
||||
)
|
||||
|
||||
// GeneratePort generate port for listen
|
||||
func GeneratePort() uint16 {
|
||||
l, err := net.ListenTCP("tcp", &net.TCPAddr{})
|
||||
runtime.Assert(err)
|
||||
|
Reference in New Issue
Block a user