From e268ccd0bef82ed707a34f1f763954f64a4889b5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 7 Jun 2019 10:59:01 -0700 Subject: [PATCH] would be smart if I actually tested if the damn thing built first Signed-off-by: Jeff Carr --- main.go | 11 +---------- resources/tags/v0.6.26 | 1 + 2 files changed, 2 insertions(+), 10 deletions(-) create mode 100644 resources/tags/v0.6.26 diff --git a/main.go b/main.go index be30da1..03d8272 100644 --- a/main.go +++ b/main.go @@ -1,13 +1,13 @@ package main import "log" -import "fmt" import "os" import "time" import "reflect" // import "os/signal" // import "syscall" // import "runtime" +// import "fmt" // this is the king of dns libraries import "github.com/miekg/dns" @@ -95,15 +95,6 @@ func lookupAAAA(hostname string) string { func main() { go handleErrors() - // OMG I'm an idiot. of course this does't work - // it's easy to loose your mind trying to make this part of the code work -// epoch := fmt.Sprintf("%d", time.Now().Unix()) -// shell.Write("./resources/BUILDDATE", epoch) - -// ref := shell.Run("git rev-list -1 HEAD") -// shell.Write("./resources/BUILDREF", ref) - // for {} - // This puts all the files in that directory in the binary // This directory includes the default config file if there is not already one packrBox = packr.NewBox("./resources") diff --git a/resources/tags/v0.6.26 b/resources/tags/v0.6.26 new file mode 100644 index 0000000..352b04f --- /dev/null +++ b/resources/tags/v0.6.26 @@ -0,0 +1 @@ +d9eb4b1597a13c0d78cf454972df5d2d58b68483