mmcdole / gofeed

Parse RSS, Atom and JSON feeds in Go
MIT License
2.51k stars 204 forks source link

build failed on go 1.18 #191

Closed godcong closed 1 year ago

godcong commented 2 years ago

Expected behavior

build on go 1.18

Actual behavior

go mod tidy failed

package need upgrade for go 1.18 building

go: upgraded github.com/json-iterator/go v1.1.10 => v1.1.12 go: upgraded github.com/modern-go/reflect2 v1.0.1 => v1.0.2

go output log

github.com/boypt/simple-torrent/server imports
        github.com/mmcdole/gofeed imports
        github.com/json-iterator/go loaded from github.com/json-iterator/go@v1.1.10,
        but go 1.16 would select v1.1.11

To upgrade to the versions selected by go 1.16:
        go mod tidy -go=1.16 && go mod tidy -go=1.17
If reproducibility with go 1.16 is not needed:
        go mod tidy -compat=1.17
For other options, see:
        https://golang.org/doc/modules/pruning