Sign in
go
/
talks
/
7426e6461029fb2f2fec878911ca8cca745dd7af
/
.
/
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")))))
}