HTTP服务共1篇
18.创建HTTP服务器-四曲博客

18.创建HTTP服务器

通过Hello World Web服务器宣告你的存在 package main import( "net/http" ) func helloWorld(w http.ResponseWriter,r *http.Request){ w.Write([]byte("Hello world\n"))...