2016-02-18から1日間の記事一覧
続き。フォルダ構成 chat templates chat.html main.go main.go package main import ( "net/http" "log" "sync" "html/template" "path/filepath" ) type templateHandler struct { once sync.Once filename string templ *template.Template } // ServeHTT…