Initial import
This commit is contained in:
parent
0eab5ecd7f
commit
a8401d3b38
|
@ -4,7 +4,7 @@
|
|||
|
||||
// HTTP file system request handler
|
||||
|
||||
package http
|
||||
package enhancedfileserver
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"gitto.work/shortcut/enhanced-file-server"
|
||||
"gitto.work/shortcut/enhancedfileserver"
|
||||
"net/http"
|
||||
"os"
|
||||
)
|
||||
|
@ -11,5 +11,5 @@ import (
|
|||
func main() {
|
||||
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))))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue