Is it a limitation of Go templates that it should be {{ else }}{{ with }}
?
Current Go limitation.
This is harder to understand than GitHub. I assume it is a proposal already awaiting review/merging?
Edit: I found a related (closed) issue text/template: add "else with" like "else if" · Issue #57646 · golang/go · GitHub (seems the proposal is merged for Go 1.23 release.)
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.