math import incorrect on golang cheat sheet
rahji opened this issue · 7 comments
rahji commented
I think this line near the top of the go cheat sheet: "math" // Math library with local alias m.
Should read: m "math" // Math library with local alias m.
abitrolly commented
Is there an URL at https://cht.sh
rahji commented
abitrolly commented
@rahji there are is "math" string on the https://cht.sh/go page.
rahji commented
It's missing the "m" alias at the start. The comment implies that the alias should be there. Also, further down the page, it uses the m alias is used to refer to Math.
rahji commented
I apologize. It's this URL: https://cht. sh/go/:learn
abitrolly commented
This PR https://github.com/adambard/learnxinyminutes-docs/pull/4494/files should fix it, but it is not merged for some reason.