|
You are here |
www.krayorn.com | ||
| | | | |
pagefault.se
|
|
| | | | | At work I program almost exclusively in Go (sometimes I need to step in and to some javascript, typscript and, shudders perl...). If I want to compare two values I simply pull out the trusty old == operator. Sure for slices and maps you can't use that, but fortunately since 1.23 we can just use the slices.Equal and maps.Equal functions. In go == is the catch-all (or catch-90%) when you need to know if two values are equal. | |
| | | | |
schadokar.dev
|
|
| | | | | Convert Hexadecimal to Decimal and Decimal to Hexadecimal | |
| | | | |
golangdocs.com
|
|
| | | | | In many cases, multiple parameters are needed to be passed in a function. Sometimes we know how many and other times we don't. Golang variadic function | |
| | | | |
eli.thegreenplace.net
|
|
| | | |||