diff --git a/.github/ISSUE_TEMPLATE b/.github/ISSUE_TEMPLATE index 3a9046b..0777d73 100644 --- a/.github/ISSUE_TEMPLATE +++ b/.github/ISSUE_TEMPLATE @@ -1,7 +1,7 @@ #### What versions are you running?
-$ go list -m github.com/chromedp/chromedp
+$ go list -m git.loafle.net/commons_go/chromedp
 $ chromium --version
 $ go version
 
diff --git a/README.md b/README.md index 20c51b0..5c1edb0 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Package chromedp is a faster, simpler way to drive browsers supporting the Install in the usual Go way: ```sh -go get -u github.com/chromedp/chromedp +go get -u git.loafle.net/commons_go/chromedp ``` ## Examples @@ -25,7 +25,7 @@ a few simple and runnable examples. * [chromedp examples][6] - various `chromedp` examples * [`github.com/chromedp/cdproto`][9] - GoDoc listing for the CDP domains used by `chromedp` * [`github.com/chromedp/cdproto-gen`][10] - tool used to generate `cdproto` -* [`github.com/chromedp/chromedp-proxy`][11] - a simple CDP proxy for logging CDP clients and browsers +* [`git.loafle.net/commons_go/chromedp-proxy`][11] - a simple CDP proxy for logging CDP clients and browsers ## TODO @@ -40,8 +40,8 @@ a few simple and runnable examples. [4]: https://coveralls.io/github/chromedp/chromedp?branch=master [5]: https://chromedevtools.github.io/devtools-protocol/ [6]: https://github.com/chromedp/examples -[7]: https://godoc.org/github.com/chromedp/chromedp +[7]: https://godoc.org/git.loafle.net/commons_go/chromedp [8]: https://www.youtube.com/watch?v=_7pWCg94sKw [9]: https://godoc.org/github.com/chromedp/cdproto [10]: https://github.com/chromedp/cdproto-gen -[11]: https://github.com/chromedp/chromedp-proxy +[11]: https://git.loafle.net/commons_go/chromedp-proxy diff --git a/example_test.go b/example_test.go index 01489ba..8c95182 100644 --- a/example_test.go +++ b/example_test.go @@ -9,7 +9,7 @@ import ( "os" "path/filepath" - "github.com/chromedp/chromedp" + "git.loafle.net/commons_go/chromedp" ) func ExampleTitle() { @@ -18,7 +18,7 @@ func ExampleTitle() { var title string if err := chromedp.Run(ctx, - chromedp.Navigate("https://github.com/chromedp/chromedp/issues"), + chromedp.Navigate("https://git.loafle.net/commons_go/chromedp/issues"), chromedp.WaitVisible("#start-of-content", chromedp.ByID), chromedp.Title(&title), ); err != nil { diff --git a/go.mod b/go.mod index 24aea15..a8cca49 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,3 @@ -module github.com/chromedp/chromedp +module git.loafle.net/commons_go/chromedp -require ( - github.com/chromedp/cdproto v0.0.0-20190403231133-2aeaf1f9e897 - github.com/disintegration/imaging v1.6.0 - github.com/gorilla/websocket v1.4.0 - github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983 - golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f // indirect -) +go 1.12 diff --git a/go.sum b/go.sum deleted file mode 100644 index 6f32274..0000000 --- a/go.sum +++ /dev/null @@ -1,16 +0,0 @@ -github.com/chromedp/cdproto v0.0.0-20190403231133-2aeaf1f9e897 h1:FKNZWQdZMOZoXB0b7RFgtYKDD7AH7fvwQ8K6b2fZ2sQ= -github.com/chromedp/cdproto v0.0.0-20190403231133-2aeaf1f9e897/go.mod h1:xquOK9dIGFlLaIGI4c6IyfLI/Gz0LiYYuJtzhsUODgI= -github.com/disintegration/imaging v1.6.0 h1:nVPXRUUQ36Z7MNf0O77UzgnOb1mkMMor7lmJMJXc/mA= -github.com/disintegration/imaging v1.6.0/go.mod h1:xuIt+sRxDFrHS0drzXUlCJthkJ8k7lkkUojDSR247MQ= -github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH/Q= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/knq/sysutil v0.0.0-20181215143952-f05b59f0f307 h1:vl4eIlySbjertFaNwiMjXsGrFVK25aOWLq7n+3gh2ls= -github.com/knq/sysutil v0.0.0-20181215143952-f05b59f0f307/go.mod h1:BjPj+aVjl9FW/cCGiF3nGh5v+9Gd3VCgBQbod/GlMaQ= -github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983 h1:wL11wNW7dhKIcRCHSm4sHKPWz0tt4mwBsVodG7+Xyqg= -github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81 h1:00VmoueYNlNz/aHIilyyQz/MHSqGoWJzpFv/HW8xpzI= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= -golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f h1:FO4MZ3N56GnxbqxGKqh+YTzUWQ2sDwtFQEZgLOxh9Jc= -golang.org/x/image v0.0.0-20190321063152-3fc05d484e9f/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/input.go b/input.go index 442a197..27345d1 100644 --- a/input.go +++ b/input.go @@ -8,7 +8,7 @@ import ( "github.com/chromedp/cdproto/dom" "github.com/chromedp/cdproto/input" - "github.com/chromedp/chromedp/kb" + "git.loafle.net/commons_go/chromedp/kb" ) // MouseAction is a mouse action. diff --git a/kb/gen.go b/kb/gen.go index 1a94997..75062ba 100644 --- a/kb/gen.go +++ b/kb/gen.go @@ -16,7 +16,7 @@ import ( "strconv" "strings" - "github.com/chromedp/chromedp/kb" + "git.loafle.net/commons_go/chromedp/kb" ) var ( diff --git a/query_test.go b/query_test.go index f5269dd..054278a 100644 --- a/query_test.go +++ b/query_test.go @@ -18,7 +18,7 @@ import ( "github.com/chromedp/cdproto/dom" "github.com/chromedp/cdproto/emulation" - "github.com/chromedp/chromedp/kb" + "git.loafle.net/commons_go/chromedp/kb" ) func TestNodes(t *testing.T) {