From 76d88c220d1cfc287676a457edb006e77d504d3f Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Thu, 16 Jan 2020 06:13:31 -0800 Subject: [PATCH] Add go mod, update ftime. + Stat_t on Darwin amd64 now uses the same struct fields for file times as Lunix, not the BSD ones. I need to follow up on this. --- go.mod | 3 +++ lib/ftime_bsd.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 go.mod diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..b198fd3 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/kisom/goutils + +go 1.13 diff --git a/lib/ftime_bsd.go b/lib/ftime_bsd.go index 22e629d..a190051 100644 --- a/lib/ftime_bsd.go +++ b/lib/ftime_bsd.go @@ -1,4 +1,4 @@ -// +build freebsd darwin netbsd +// +build freebsd darwin,386 netbsd package lib