blob: 39655d7f25c97c6584ccbe63721bd335029ffb0d [file] [log] [blame]
// +build ignore,OMIT
package main
import "net/http"
func main() {
http.ListenAndServe(":8080", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
http.ServeContent(w, r, "foo.txt", time.Now(),
strings.NewReader("I am some content.\n"))
}))
}