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

cannot get/install on go 1.17 #31

Closed
gczobel opened this issue Jul 5, 2022 · 1 comment
Closed

cannot get/install on go 1.17 #31

gczobel opened this issue Jul 5, 2022 · 1 comment

Comments

@gczobel
Copy link

gczobel commented Jul 5, 2022

Using go version go1.17.11 linux/amd64

# go install go101.org/golds@latest
go: downloading go101.org/golds v0.5.1
go: downloading golang.org/x/net v0.0.0-20220225172249-27dd8689420f
go: downloading golang.org/x/tools v0.1.10
go: downloading golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e
go: downloading golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3
# go101.org/golds/internal/server
/root/go/pkg/mod/go101.org/golds@v0.5.1/internal/server/page_package-details.go:2408:29: undefined: types.TypeParam
note: module requires Go 1.18
# go get -u go101.org/golds
go get: installing executables with 'go get' in module mode is deprecated.
        To adjust and download dependencies of the current module, use 'go get -d'.
        To install using requirements of the current module, use 'go install'.
        To install ignoring the current module, use 'go install' with a version,
        like 'go install example.com/cmd@latest'.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
# go101.org/golds/internal/server
/root/go/pkg/mod/go101.org/golds@v0.5.1/internal/server/page_package-details.go:2408:29: undefined: types.TypeParam
note: module requires Go 1.18
@zigo101
Copy link
Collaborator

zigo101 commented Jul 6, 2022

@gczobel

This bug was introduced in fixing #30

Sorry for my carelessness again and many thanks for this finding.

It is just fixed in v0.5.2.

@zigo101 zigo101 closed this as completed Jul 6, 2022
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