From 76b657aa3fb49861c78bb7cd532673067cb166f0 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Sun, 13 Jun 2021 20:38:07 +0800 Subject: [PATCH] remove embedded http template --- main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.go b/main.go index 38eeb61..f86bc65 100644 --- a/main.go +++ b/main.go @@ -8,8 +8,6 @@ import ( "log" "net/http" "os" - - _ "embed" ) type Repo struct { @@ -26,9 +24,6 @@ type Config struct { Repos map[string]*Repo // mapped by ShortPath, like package/code } -//go:embed template.html -var httpTemplate string - var ( ConfigFile, TemplateFile string ListenAddress string