背景 GoのHTTP通信に使う標準ライブラリnet/httpには、型名や関数名として似た単語がたくさん出てくる。Handler, HandleFunc, Handleなど。 それらを整理しておきたい! net/http.Server Goでサーバを立てるにはServer構造体を初期化しなければならない。 サーバを立てるのに、Server構造体を初期化するというのは、わかりやすい。 $ go doc net/http.Server type Server struct { // Addr optionallu specifies the TCP address for the server to listen on, // in the form "host:port". If empty, ":http" (port 80) is used. Addr string Handler Han