The new io/fs package in Go 1.16+ gives us a powerful new way of working with filesystems. Walk with me, then, as we take a tour of the new fs.FS interface and see what it can do.
All tagged YAML
The new io/fs package in Go 1.16+ gives us a powerful new way of working with filesystems. Walk with me, then, as we take a tour of the new fs.FS interface and see what it can do.
CUE is a new data language, inspired by Go, that promises to make JSON, YAML, and other annoying formats much easier to work with. It features type checking, validation, and an excellent set of tooling.
What is a map in Golang and how does it work? Are Go maps thread-safe? Are maps pointers? How do you check if a map is empty? Can maps be nil? Go teacher and expert John Arundel answers these and other questions about Go maps.