Make it compatible with go111module

This commit is contained in:
Mirror 2021-03-02 23:50:56 +03:00
parent 3e94eb51d2
commit ac9cbad6d8
5 changed files with 28 additions and 1 deletions

10
go.mod Normal file
View File

@ -0,0 +1,10 @@
module git.magicalmirro.red/voice/pixiv-scrapper
go 1.16
require (
h12.io/socks v1.0.2
git.magicalmirro.red/voice/pixiv-scrapper/pixiv v0.0.0
)
replace git.magicalmirro.red/voice/pixiv-scrapper/pixiv => ./pixiv

6
go.sum Normal file
View File

@ -0,0 +1,6 @@
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=
h12.io/socks v1.0.2 h1:cZhhbV8+DE0Y1kotwhr1a3RC3kFO7AtuZ4GLr3qKSc8=
h12.io/socks v1.0.2/go.mod h1:AIhxy1jOId/XCz9BO+EIgNL2rQiPTBNnOfnVnQ+3Eck=

View File

@ -7,7 +7,7 @@ import (
"path"
"syscall"
"./pixiv"
"git.magicalmirro.red/voice/pixiv-scrapper/pixiv"
)
type cmdlineT struct {

5
pixiv/go.mod Normal file
View File

@ -0,0 +1,5 @@
module git.magicalmirro.red/voice/pixiv-scrapper/pixiv
go 1.16
require h12.io/socks v1.0.2

6
pixiv/go.sum Normal file
View File

@ -0,0 +1,6 @@
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=
h12.io/socks v1.0.2 h1:cZhhbV8+DE0Y1kotwhr1a3RC3kFO7AtuZ4GLr3qKSc8=
h12.io/socks v1.0.2/go.mod h1:AIhxy1jOId/XCz9BO+EIgNL2rQiPTBNnOfnVnQ+3Eck=