But it wont, since renameio.WriteFile doesn't exist when building on Windows. It should probably use build tags (and go:build directives) instead of runtime.GOOS.
Perhaps release this as v1.0.1? I ran into build failures when upgrading to v1.0.0, and then I switched to /maybe, and then it still failed because of this bug :)
The text of package
maybe
implies that it could run on Windows:But it wont, since
renameio.WriteFile
doesn't exist when building on Windows. It should probably use build tags (andgo:build
directives) instead ofruntime.GOOS
.