chubin/cheat.sh

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.

Is there an URL at https://cht.sh

@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 I don't see any references to "math". Here is the page that I see.

image

rahji commented

I apologize. It's this URL: https://cht. sh/go/:learn

https://cht.sh/go/:learn

This PR https://github.com/adambard/learnxinyminutes-docs/pull/4494/files should fix it, but it is not merged for some reason.