Wondering how to create a Go application combining a full-screen text UI (TUI) with a web UI ? This is actually fairly easy, as this presentation shows using rivo/tview and gorilla/mux.
The matching code is on sur https://github.com/fgm/twinui
The site of my Go book is https://osinet.fr/go/en