remove unused func mustLoad (#2)

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2017-06-26 21:59:33 -07:00 committed by Jaana B. Dogan
parent c4979fcc9d
commit 148449359e

View File

@ -25,7 +25,6 @@ import (
"strings"
"google.golang.org/appengine"
"gopkg.in/yaml.v2"
)
@ -87,11 +86,3 @@ var vanityTmpl, _ = template.New("vanity").Parse(`<!DOCTYPE html>
Nothing to see here; <a href="https://godoc.org/{{.Import}}">see the package on godoc</a>.
</body>
</html>`)
func mustLoad(key string, value *string) {
v := os.Getenv(key)
if v == "" {
log.Fatalf("missing %v env variable", key)
}
*value = v
}