GOLANG 中HTTP包默认路由匹配规则阅读笔记

# 一、执行流程 构建一个简单http server: ```go package main import ( "log" "net/http" ) func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { w.Write([]byte("hello world")) }) log.Fatal(http.ListenAndServe(":80...阅读全文

2016-05-30 09:43:22