💾 Archived View for siiky.srht.site › wiki › pl.go.gmi captured on 2024-07-09 at 00:51:36. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
siiky
2023/02/06
2023/02/08
2023/02/08
programming
Started learning Go at work. A coleague suggested following "Go By Example" and taking a look at "Go Traps".
In "Go By Example" they suggest these additional pages to learn about some specific aspects of the language.
https://go.dev/blog/slices-intro
https://jordanorelli.com/post/32665860244/how-to-use-interfaces-in-go
https://go.dev/blog/error-handling-and-go
https://pkg.go.dev/cmd/compile#hdr-Compiler_Directives
There's an example of WaitGroups. At first I thought "nice, structured concurrency!" But then, the interface is kinda funky. And there doesn't seem be any way to kill processes/threads/goroutines/green-threads/w.e. you wanna call'em.
Structured concurrency and Lua