aboutsummaryrefslogtreecommitdiff
path: root/template/go/base-web-app.go
blob: b760d9368390099a5fea512f3f540e91813e9406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package main

import (
    "fmt"
    "net/http"
)

func main() {
    http.HandleFunc("/", func (w http.ResponseWriter, r *http.Request) {
		fmt.Fprintf(w, "{{_cursor_}}")
	})
    http.ListenAndServe(":8080", nil)
}