remove packr

This commit is contained in:
Mikaël Cluseau
2018-12-10 15:57:27 +11:00
parent 2c0f4d876e
commit 63f991bbd2
3 changed files with 0 additions and 28 deletions

View File

@ -6,7 +6,6 @@ import (
"net/http"
"path/filepath"
"github.com/gobuffalo/packr"
"novit.nc/direktil/pkg/cas"
)
@ -21,15 +20,11 @@ var (
keyFile = flag.String("tls-key", etcDir+"/server.key", "Server TLS key")
casStore cas.Store
assets packr.Box
)
func main() {
flag.Parse()
assets = packr.NewBox("./assets")
if *address == "" && *tlsAddress == "" {
log.Fatal("no listen address given")
}