1 Star 1 Fork 1

mjun1833 / delve

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
testnextnethttp.go 298 Bytes
一键复制 编辑 原始数据 按行查看 历史
Derek Parker 提交于 2015-08-08 14:30 . Bind to less used port in test
package main
import (
"net/http"
"runtime"
)
func main() {
http.HandleFunc("/", func(w http.ResponseWriter, req *http.Request) {
runtime.Breakpoint()
msg := "hello, world!"
header := w.Header().Get("Content-Type")
w.Write([]byte(msg + header))
})
http.ListenAndServe(":9191", nil)
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/mjun1833/delve.git
git@gitee.com:mjun1833/delve.git
mjun1833
delve
delve
v0.8.0-alpha

搜索帮助

344bd9b3 5694891 D2dac590 5694891