From 2bf0f688f895aa19f976051e30b967a6187e27b4 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Thu, 3 Jan 2019 13:55:15 -0800 Subject: template: Bundle in binary with bindata (#36) This uses go-bindata/go-bindata to bundle the template in the binary. I also realized that the handler test was now broken because we were checking the exact contents of the index page in the test. This change fixes that too. --- go.mod | 1 + 1 file changed, 1 insertion(+) (limited to 'go.mod') diff --git a/go.mod b/go.mod index 86ea6f5..06701c8 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,7 @@ module go.uber.org/sally require ( github.com/davecgh/go-spew v1.1.1 // indirect + github.com/go-bindata/go-bindata v1.0.0 github.com/golang/lint v0.0.0-20181217174547-8f45f776aaf1 github.com/julienschmidt/httprouter v1.2.0 github.com/kisielk/gotool v1.0.0 // indirect -- cgit v1.2.3