10 lines
177 B
Go
Raw Normal View History

2021-12-04 16:42:11 +00:00
package socks5
import "testing"
func TestParseAddress(t *testing.T) {
t.Log(ParseAddress("127.0.0.1:80"))
t.Log(ParseAddress("[::1]:80"))
t.Log(ParseAddress("a.com:80"))
}