Former-commit-id: a3c30e0138
This commit is contained in:
Henrique Dias
2017-06-25 10:02:16 +01:00
parent 3a941e4165
commit a692abba9e
4 changed files with 32 additions and 29 deletions

View File

@@ -7,7 +7,6 @@ import (
"github.com/hacdias/filemanager"
)
var m *filemanager.FileManager
func handler(w http.ResponseWriter, r *http.Request) {
@@ -21,4 +20,4 @@ func main() {
m = filemanager.New()
http.HandleFunc("/", handler)
http.ListenAndServe(":8080", nil)
}
}