gophernotes icon indicating copy to clipboard operation
gophernotes copied to clipboard

reflect.Value.Convert: value of type reflect.Value cannot be converted to type http.FileSystem

Open your-olym opened this issue 2 years ago • 0 comments

I meet the question that

reflect.Value.Convert: value of type reflect.Value cannot be converted to type http.FileSystem 

which was seemd caused by

http.Handle("/js/", http.StripPrefix("/js/", http.FileServer(http.Dir("js"))))

by the way it's running in goland

image image

├── static │   └── js │   └── index.js ├── templates │   └── index.html

your-olym avatar Mar 06 '23 07:03 your-olym