Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devfeel/dotweb
/ HandlerFunc
Function
HandlerFunc
example/router/main.go:49–51 ·
view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)
Source
from the content-addressed store, hash-verified
47
}
48
49
func
HandlerFunc(w http.ResponseWriter, r *http.Request) {
50
w.Write([]byte(
"go raw http func"
))
51
}
52
53
func
InitRoute(server *dotweb.HttpServer) {
54
server.GET(
"/"
, Index)
Callers
nothing calls this directly
Calls
1
Write
Method · 0.65
Tested by
no test coverage detected