Sign in
go
/
talks
/
a07c284bcf333dc17a1489fd441e8fccf1e01c2a
/
.
/
content
/
2013
/
oscon-dl
/
server-fs.go
blob: 8a09f550ef6df3a06da9aa970dd2757cde6a533b [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"log"
"net/http"
"os"
"path/filepath"
)
func main() {
log.Printf("Running...")
log.Fatal(http.ListenAndServe(
"127.0.0.1:8080",
http.FileServer(http.Dir(
filepath.Join(os.Getenv("HOME"), "go", "doc")))))
}