in progress: adding sqlite support

This commit is contained in:
2024-03-02 17:13:15 +00:00
parent 35f469d298
commit 99801f0255
13 changed files with 250 additions and 9 deletions

View File

@@ -13,6 +13,7 @@ import (
"github.com/jritsema/gotoolbox"
"github.com/jritsema/gotoolbox/web"
"github.com/mattn/go-sqlite3"
)
var (
@@ -40,7 +41,7 @@ func main() {
//add routes
router := http.NewServeMux()
router.Handle("/css/output.css", http.FileServer(http.FS(css)))
// router.Handle("/css/output.css", http.FileServer(http.FS(css)))
router.Handle("/company/add", web.Action(companyAdd))
router.Handle("/company/add/", web.Action(companyAdd))