From f9f7cd3e7ee70af299aa8319286a3952695dc484 Mon Sep 17 00:00:00 2001 From: "kayos@tcp.direct" Date: Sun, 28 Aug 2022 04:17:53 -0700 Subject: [PATCH] Update go module paths --- .gitignore | 2 ++ go.mod | 6 +++--- go.sum | 4 ++-- socks.go | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 0026861..e0ad2db 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ _cgo_export.* _testmain.go *.exe + +.idea/ diff --git a/go.mod b/go.mod index b4d2150..f99dc10 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ -module h12.io/socks +module git.tcp.direct/kayos/socks -go 1.9 +go 1.19 require ( github.com/h12w/go-socks5 v0.0.0-20200522160539-76189e178364 - github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2 + github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5 ) diff --git a/go.sum b/go.sum index bff8b8d..0ea262e 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ github.com/h12w/go-socks5 v0.0.0-20200522160539-76189e178364 h1:5XxdakFhqd9dnXoAZy1Mb2R/DZ6D1e+0bGC/JhucGYI= github.com/h12w/go-socks5 v0.0.0-20200522160539-76189e178364/go.mod h1:eDJQioIyy4Yn3MVivT7rv/39gAJTrA7lgmYr8EW950c= -github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2 h1:JhzVVoYvbOACxoUmOs6V/G4D5nPVUW73rKvXxP4XUJc= -github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2/go.mod h1:iIss55rKnNBTvrwdmkUpLnDpZoAHvWaiq5+iMmen4AE= +github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5 h1:Ii+DKncOVM8Cu1Hc+ETb5K+23HdAMvESYE3ZJ5b5cMI= +github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5/go.mod h1:iIss55rKnNBTvrwdmkUpLnDpZoAHvWaiq5+iMmen4AE= diff --git a/socks.go b/socks.go index 7ef3df3..83c2de7 100644 --- a/socks.go +++ b/socks.go @@ -10,7 +10,7 @@ A complete example using this package: package main import ( - "h12.io/socks" + "git.tcp.direct/kayos/socks" "fmt" "net/http" "io/ioutil" @@ -39,7 +39,7 @@ A complete example using this package: return } */ -package socks // import "h12.io/socks" +package socks // import "git.tcp.direct/kayos/socks" import ( "fmt"