Go は単体でも Web サーバを立てることが可能であり、公式ドキュメントのサンプルなどでもだいたい内蔵のものを使っています。 package main import ( "fmt" "net/http" ) func handler(w http.ResponseWriter, r *http.Request) { fmt.Fprintln(w, "Hello World!") } func main() { http.HandleFunc("/", handler) http.ListenAndServe(":4000", nil) } ただ、最近は Rails だったら nginx + unicorn ですし、 PHP も nginx + php-fpm といった構成がモダンな気がします。 なので、なんとなく Go でも nginx の後ろでアプリケーションサーバに専念させたいなあと
