155b721438
test / test (push) Has been cancelled
Lay out view, auth, validate, and handlers under internal/web while keeping the cmd/panel API unchanged; update roadmap and changelog for web-split closure. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
233 B
Go
17 lines
233 B
Go
package handlers
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mixeme/selfpost/internal/web/view"
|
|
)
|
|
|
|
func mustView(t *testing.T) *view.Engine {
|
|
t.Helper()
|
|
v, err := view.New("test")
|
|
if err != nil {
|
|
t.Fatalf("view: %v", err)
|
|
}
|
|
return v
|
|
}
|