Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverting support back to go1.16 minimum
- Loading branch information
Showing
10 changed files
with
39 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
//go:build linux | ||
// +build linux | ||
|
||
package chromedp | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
//go:build !linux | ||
// +build !linux | ||
|
||
package chromedp | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
//go:build ignore | ||
// +build ignore | ||
|
||
package main | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//go:build go1.18 | ||
// +build go1.18 | ||
|
||
package chromedp | ||
|
||
import ( | ||
"reflect" | ||
) | ||
|
||
const reflectPtr = reflect.Pointer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//go:build !go1.18 | ||
// +build !go1.18 | ||
|
||
package chromedp | ||
|
||
import ( | ||
"reflect" | ||
) | ||
|
||
const reflectPtr = reflect.Ptr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,13 @@ | ||
module github.com/chromedp/chromedp | ||
|
||
go 1.18 | ||
go 1.16 | ||
|
||
require ( | ||
github.com/chromedp/cdproto v0.0.0-20230220211738-2b1ec77315c9 | ||
github.com/gobwas/ws v1.1.0 | ||
github.com/ledongthuc/pdf v0.0.0-20220302134840-0c2507a12d80 | ||
github.com/mailru/easyjson v0.7.7 | ||
github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde | ||
golang.org/x/exp v0.0.0-20230304125523-9ff063c70017 | ||
) | ||
|
||
require ( | ||
github.com/chromedp/sysutil v1.0.0 // indirect | ||
github.com/gobwas/httphead v0.1.0 // indirect | ||
github.com/gobwas/pool v0.2.1 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
golang.org/x/sys v0.6.0 // indirect | ||
) | ||
require golang.org/x/sys v0.6.0 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
//go:build ignore | ||
// +build ignore | ||
|
||
package main | ||
|
||
|