Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install does not work #35

Open
janisii opened this issue Oct 19, 2024 · 0 comments
Open

Install does not work #35

janisii opened this issue Oct 19, 2024 · 0 comments

Comments

@janisii
Copy link

janisii commented Oct 19, 2024

Hello,

not able to install with go command. There is error on processors/servicenonoverlapper.go:70:8: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod).

Maybe this is related: 'go get' is no longer supported outside a module.

$ go install github.com/patrickbr/gtfstidy@latest
warning: GOPATH set to GOROOT (/root/go) has no effect
go: finding module for package github.com/paulmach/go.geojson
go: finding module for package github.com/patrickbr/gtfsparser
go: finding module for package github.com/patrickbr/gtfswriter
go: finding module for package github.com/patrickbr/gtfsparser/gtfs
go: finding module for package github.com/spf13/pflag
go: finding module for package golang.org/x/exp/slices
go: found github.com/patrickbr/gtfsparser in github.com/patrickbr/gtfsparser v0.0.0-20240911102057-fc74d7141f00
go: found github.com/patrickbr/gtfsparser/gtfs in github.com/patrickbr/gtfsparser v0.0.0-20240911102057-fc74d7141f00
go: found github.com/patrickbr/gtfswriter in github.com/patrickbr/gtfswriter v0.0.0-20240919073412-98e3602c6cd8
go: found github.com/paulmach/go.geojson in github.com/paulmach/go.geojson v1.5.0
go: found github.com/spf13/pflag in github.com/spf13/pflag v1.0.5
go: found golang.org/x/exp/slices in golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
go: finding module for package github.com/valyala/fastjson/fastfloat
go: finding module for package github.com/klauspost/compress/zip
go: found github.com/klauspost/compress/zip in github.com/klauspost/compress v1.17.11
go: found github.com/valyala/fastjson/fastfloat in github.com/valyala/fastjson v1.6.4
# github.com/patrickbr/gtfstidy/processors
../pkg/mod/github.com/patrickbr/[email protected]/processors/servicenonoverlapper.go:70:8: implicit function instantiation requires go1.18 or later (-lang was set to go1.16; check go.mod)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant