💾 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

View Raw

More Information

⬅️ Previous capture (2023-03-20)

-=-=-=-=-=-=-

Go (programming language)

siiky

2023/02/06

2023/02/08

2023/02/08

programming

https://go.dev

Started learning Go at work. A coleague suggested following "Go By Example" and taking a look at "Go Traps".

Go By Example

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://go.dev/blog/strings

https://jordanorelli.com/post/32665860244/how-to-use-interfaces-in-go

https://go.dev/blog/error-handling-and-go

https://go.dev/blog/json

https://pkg.go.dev/cmd/compile#hdr-Compiler_Directives

https://pkg.go.dev/embed#FS

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.

WaitGroups

Structured concurrency and Lua

https://github.com/Tinche/quattro

pl.lua.gmi