web/cmd/smweb/main.go

16 lines
190 B
Go
Raw Permalink Normal View History

2015-02-09 22:23:42 -08:00
package main
import "net/http"
func main() {
http.Handle(
"/",
http.FileServer(
http.Dir("."),
),
)
if err := http.ListenAndServe(":8000", nil); err != nil {
panic(err)
}
}