remove embedded http template
This commit is contained in:
parent
ca2b58bd62
commit
76b657aa3f
5
main.go
5
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
|
||||
|
Loading…
Reference in New Issue
Block a user