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"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
_ "embed"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type Repo struct {
|
type Repo struct {
|
||||||
@ -26,9 +24,6 @@ type Config struct {
|
|||||||
Repos map[string]*Repo // mapped by ShortPath, like package/code
|
Repos map[string]*Repo // mapped by ShortPath, like package/code
|
||||||
}
|
}
|
||||||
|
|
||||||
//go:embed template.html
|
|
||||||
var httpTemplate string
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ConfigFile, TemplateFile string
|
ConfigFile, TemplateFile string
|
||||||
ListenAddress string
|
ListenAddress string
|
||||||
|
Loading…
Reference in New Issue
Block a user