remove embedded http template

This commit is contained in:
Edgaru089 2021-06-13 20:38:07 +08:00
parent ca2b58bd62
commit 76b657aa3f

View File

@ -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