@Konboi memo

主に技術に関してつらつらと。

static

net/httpで静的ファイルを返す

追記 (2016/04/13) 完全に読み間違えていましたね やっちゃいけないそうです shogo82148.github.io やるならこう func main() { http.HandleFunc("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static")))) http.ListenAndServe(":30…