chubin / cheat.sh

the only cheat sheet you need
https://cheat.sh/
MIT License
38.2k stars 1.78k forks source link

math import incorrect on golang cheat sheet #364

Open rahji opened 1 year ago

rahji commented 1 year ago

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 1 year ago

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

rahji commented 1 year ago

https://cht.sh/go

abitrolly commented 1 year ago

@rahji there are is "math" string on the https://cht.sh/go page.

rahji commented 1 year ago

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.

abitrolly commented 1 year ago

@rahji I don't see any references to "math". Here is the page that I see.

image

rahji commented 1 year ago

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

abitrolly commented 1 year ago

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.