Michał ŁowickiingolangspecUntyped constants in GoLet’s start with quiz comparing two programs which differ only by single statement. Program C uses constant declaration (source code):Mar 19, 20201Mar 19, 20201
Michał ŁowickiingolangspecPointer receiver methods and iteration variablesOne more gotcha with re-using range clause variables.Mar 10, 2020Mar 10, 2020
Michał ŁowickiingolangspecEquality in GolangTale of comparison operators and {DeepEqual,Equal,EqualFold} methodsFeb 26, 20203Feb 26, 20203
Michał ŁowickiingolangspecDefer statement in Golang (part I)Deferred function is declared inside another function and is called when surrounding function exits — either normally or if goroutine…Feb 2, 2020Feb 2, 2020
Michał Łowickiingolangspec“for” statement and its all faces in GolangIn contrast to many other languages, Go doesn’t have multiple constructs for executing block of code repeatedly. There’s single statement…Jan 15, 20201Jan 15, 20201
Michał Łowickiingolangspecrange clause and the address of iteration variable(source code)Jul 6, 2018Jul 6, 2018
Michał ŁowickiingolangspecSynchronization queues in Golanghow to use channels to write idiomatic code in GoMar 12, 20182Mar 12, 20182
Michał ŁowickiingolangspecReusable barriers in GolangHow to implement them using buffered channelsFeb 27, 20185Feb 27, 20185
Michał ŁowickiHTTPS proxies support in Go 1.10Couple of days ago Go 1.10 has been released — six months after 1.9. New version brings bigger and smaller changes (release notes) but I…Feb 21, 20185Feb 21, 20185