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

Does not build on go1.11 after 0.61 #6853

Closed
XANi opened this issue Feb 4, 2020 · 1 comment
Closed

Does not build on go1.11 after 0.61 #6853

XANi opened this issue Feb 4, 2020 · 1 comment
Labels

Comments

@XANi
Copy link

XANi commented Feb 4, 2020

According to docs on main page, Go 1.11 is minimum. I have tried to build it with Debian's current version (1.11.6) and get

-> ᛯ go install                                    
# github.com/gohugoio/hugo/tpl/internal/go_templates/fmtsort
tpl/internal/go_templates/fmtsort/sort.go:58:18: mapValue.MapRange undefined (type reflect.Value has no field or method MapRange)
note: module requires Go 1.12    

I have bisected it and the offending commit is 167c015 and the preceding 4c80431 is last working version. It appears that the forked template module was from later go version ?

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant