gopherdata / gophernotes

The Go kernel for Jupyter notebooks and nteract.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

your-olym opened this issue · 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