Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Runes in Go loosely equate to the "charcode as an int", and are represented by single-quotes.
It's definitely a bit 'black magic', but it says:
Take the charcode stored in c, take off the charcode of "a" (97) and add the charcode of "A" (65). Then, convert the result back to a string.
So, for example, the letter "r" has ascii value 114. 114 - 97 + 65 = 82, which is the charcode of R.
can someone explain what exactly this does and how?
string(c-'a'+'A')