Automatically generate the .env file if it is not there

This commit is contained in:
Achim Rohn
2025-09-17 09:59:02 +02:00
parent fae6653f94
commit 0283634b98
5 changed files with 63 additions and 25 deletions
+1 -2
View File
@@ -6,12 +6,11 @@ import (
"ersteller-lib/starter/page"
"net/http"
"github.com/jackc/pgx/v5/pgxpool"
. "maragu.dev/gomponents"
. "maragu.dev/gomponents/html"
)
func CreateApi(db *pgxpool.Pool) http.Handler {
func CreateApi() http.Handler {
server := NewHtmxServer()
HtmxRouteDebugTrace = true