From 148449359e11b1711f616207fa574ff3034592a3 Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Mon, 26 Jun 2017 21:59:33 -0700 Subject: [PATCH] remove unused func mustLoad (#2) Signed-off-by: Ahmet Alp Balkan --- main.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/main.go b/main.go index 170f6e7..a574d82 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,6 @@ import ( "strings" "google.golang.org/appengine" - "gopkg.in/yaml.v2" ) @@ -87,11 +86,3 @@ var vanityTmpl, _ = template.New("vanity").Parse(` Nothing to see here; see the package on godoc. `) - -func mustLoad(key string, value *string) { - v := os.Getenv(key) - if v == "" { - log.Fatalf("missing %v env variable", key) - } - *value = v -}