> Go’s stdlib file api assumes Unix
Until you want to do unix things like mmap() and madvise() of course. In which case it assumes an OS without those really basic features.