I am new to golang and fairly new to programming. While reading the golang documentation I came across variables declared without type associated to it.
eg: var StdEncoding = NewEncoding(encodeStd)
I can this in the encode/base64 package. I am not sure what it means. I know that you need to mention that type while declaring variables but this one doesnt have any type. How are these variables different from other and how do I use them?
*Encoding.