HTTPãµã¼ãã®å®è£ Goè¨èªã§HTTPéä¿¡ãããã«ã¯ãnet/httpããã±ã¼ã¸ã使ç¨ãã¾ãã ã½ã±ããéä¿¡ã¨æ¯ã¹ãã¨ããªãã·ã³ãã«ã«å®è£ ãè¡ããã¨ãã§ãã¾ãã package main import ( "fmt" "net/http" ) var todos []string; func main() { todos = make([]string, 0); http.HandleFunc("/todos", showToDo) http.HandleFunc("/todos/new", addToDo) http.ListenAndServe(":80", nil) } func showToDo(w http.ResponseWriter, r *http.Request) { fmt.Fprintln(w, "<html>") fmt.Fprintln(w, "<head><t
{{#tags}}- {{label}}
{{/tags}}