update to support postgresql and add godocs
Some checks failed
continuous-integration/drone Build is passing
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / End-to-End (push) Has been cancelled
CI / Publish Docker (push) Has been cancelled

This commit is contained in:
2026-01-13 17:05:14 +11:00
parent afec4aacb0
commit ea1eeb5c21
37 changed files with 618 additions and 38 deletions

View File

@@ -5,7 +5,14 @@ import (
"vctp/components/views"
)
// Home handles the home page.
// Home renders the web UI home page.
// @Summary Home page
// @Description Renders the main UI page.
// @Tags ui
// @Produce text/html
// @Success 200 {string} string "HTML page"
// @Failure 500 {string} string "Render failed"
// @Router / [get]
func (h *Handler) Home(w http.ResponseWriter, r *http.Request) {
//h.html(r.Context(), w, http.StatusOK, core.HTML("Example Site", home.Home()))