package main import ( "log" "net/http" "html/template" //"time" ) type Python struct { Program string } func main() { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { log.Printf("new request") t := template.New("page") t, _ = t.Parse(webpage) p := Python{Program: pythonProgram} t.Execute(w, p) }) log.Printf("Running on port 9000") http.ListenAndServe(":9000", nil) }