The txtar format is an ingenious way to supply arbitrary files and folder structures to test scripts. We’ll also learn about file management, simulating standard input, and breaking up scripts into phases.
All tagged files
The txtar format is an ingenious way to supply arbitrary files and folder structures to test scripts. We’ll also learn about file management, simulating standard input, and breaking up scripts into phases.
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.