Quantcast
Channel: Riff Blog - Surfing the dataverse, to the sound of music
Viewing all articles
Browse latest Browse all 79

Golang fun : adding methods to primitive types

$
0
0

Go syntax has some funny peculiarities which are not immediately obvious, like methods on primitive types. Let's have a look.

Primitive wrapper types

Anyone with a few hours of Go is familiar with the basic object notation, like this example:

read more


Viewing all articles
Browse latest Browse all 79

Trending Articles