mirror of
https://github.com/lwch/natpass.git
synced 2026-10-19 16:15:48 +00: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