Releases: djherbis/times
Linux btime
Big thanks to @mateusz834 for adding this support in #13
And @gildesmarais for reminding me to merge the PR
StatFile
Expose StatFile to all GOOS/GOARCH. In most cases this effectively just calls to os.File.Stat() and then Get() on the result.
On Windows however, this will reuse the file handle of the open os.File passed to it to perform the same work normally done by times.Stat (but saves reopening the file).
Go module support
Adding a go mod file.
AIX Support
Thanks to @aklyachkin for adding aix support.
Added support for GOOS=aix, GOARCH=ppc64.
Travis doesn't support testing, but tests were executed on an aix machine manually:
JS Support
Added support for GOOS=js, GOARCH=wasm.
Added tests for directories (not just files).
Added travis support for running tests & coverage on linux, osx, windows, and js/wasm.
Lstat supported
Added support for Lstat #3
Added an example binary for getting/testing file times
Added more benchmarks & tests
Minor code cleanup