From 7defafd3b101511a31846ec4ab181f5f4e7c9826 Mon Sep 17 00:00:00 2001 From: djherbis Date: Sun, 24 Jan 2016 13:15:46 -0800 Subject: [PATCH] fixed undefined platformSpecificStat for non-windows builds --- use_generic_stat.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/use_generic_stat.go b/use_generic_stat.go index 95b5829..646b0d4 100644 --- a/use_generic_stat.go +++ b/use_generic_stat.go @@ -3,3 +3,8 @@ package times const hasPlatformSpecificStat = false + +// do not use, only here to prevent "undefined" method error. +func platformSpecficStat(name string) (Timespec, error) { + return nil, nil +}