a41f938cec
As we have seen, dependencies version can prevent the build. We should user lock versions on dependencies that we know work: * Packages are vendored * Add Godep support * Added addtional install step in readme * Fix travis build error
12 lignes
181 o
Go
12 lignes
181 o
Go
package missinggo
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
"time"
|
|
)
|
|
|
|
func fileInfoAccessTime(fi os.FileInfo) time.Time {
|
|
sec := fi.Sys().(*syscall.Dir).Atime
|
|
return time.Unix(int64(sec), 0)
|
|
}
|