Sign in
go
/
talks
/
c82c0c1edcc74b85e4c85c5ec8238fb7fa4a8269
/
.
/
2013
/
oscon-dl
/
server-fs.go
blob: 7da88514d7fe2864fb83f9315f435103fd9cfcbe [
file
] [
log
] [
blame
]
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")))))
}