add dockerfile, update libs

This commit is contained in:
2024-03-05 10:25:55 +01:00
parent b803b33350
commit 2124d9af00
4 changed files with 28 additions and 11 deletions

View File

@@ -5,15 +5,16 @@ import (
_ "embed"
"errors"
"fmt"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/mileusna/useragent"
"html/template"
"log"
"net/http"
"os"
"retroHub/data"
"strings"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/mileusna/useragent"
)
type injector struct {
@@ -36,7 +37,7 @@ type errorInjector struct {
StatusText string
}
const version string = "0.1"
const version string = "0.1.1"
//go:embed templates
var templates embed.FS