Initial import

This commit is contained in:
Your Name 2018-08-24 13:05:37 +00:00
parent 0eab5ecd7f
commit a8401d3b38
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
// HTTP file system request handler // HTTP file system request handler
package http package enhancedfileserver
import ( import (
"errors" "errors"

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"gitto.work/shortcut/enhanced-file-server" "gitto.work/shortcut/enhancedfileserver"
"net/http" "net/http"
"os" "os"
) )
@ -11,5 +11,5 @@ import (
func main() { func main() {
dir, err := os.Getwd() dir, err := os.Getwd()
log.Fatal(http.ListenAndServe(":12345", enhanced-file-server.FileServer(http.Dir(dir)))) log.Fatal(http.ListenAndServe(":12345", enhancedfileserver.FileServer(http.Dir(dir))))
} }