blob: 773a0c64eac0c4c47812b7b79278330fe9271d45 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package handlers
import (
"net/http"
wtypes "go.lindenii.runxiyu.org/forge/forged/internal/incoming/web/types"
)
type IndexHTTP struct{}
func NewIndexHTTP() *IndexHTTP { return &IndexHTTP{} }
func (h *IndexHTTP) Index(w http.ResponseWriter, r *http.Request, _ wtypes.Vars) {
_, _ = w.Write([]byte("index: replace with template render"))
}
|