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

No longer compiles with older Go versions #41

Closed
jech opened this issue Nov 25, 2023 · 4 comments
Closed

No longer compiles with older Go versions #41

jech opened this issue Nov 25, 2023 · 4 comments

Comments

@jech
Copy link
Contributor

jech commented Nov 25, 2023

$ /usr/lib/go-1.19/bin/go build
gateway_parsers.go:14:2: package slices is not in GOROOT (/usr/lib/go-1.19/src/slices)
@jackpal
Copy link
Owner

jackpal commented Nov 25, 2023

This is intentional. I guess you could use an earlier version of the library if for some reason you want to use an older version of golang.

@jackpal jackpal closed this as completed Nov 25, 2023
@jackpal jackpal reopened this Nov 25, 2023
@jackpal
Copy link
Owner

jackpal commented Nov 25, 2023

Reopening. I should change the go.mod file to document this golang version requirement.

@jech
Copy link
Contributor Author

jech commented Dec 1, 2023

I guess you could use an earlier version of the library

That's what I'm doing.

if for some reason you want to use an older version of golang.

I'm using the latest version, but I don't want to force my users to do so without good reason.

@jackpal
Copy link
Owner

jackpal commented Dec 3, 2023

Regarding my earlier comment:

Reopening. I should change the go.mod file to document this golang version requirement.

Actually the go.mod file already specifies golang 1.21, so it doesn't need to be updated.

I guess there's nothing more to do on this issue.

@jackpal jackpal closed this as completed Dec 3, 2023
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

2 participants