gopherdata / gopherdata/gophernotes

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

Open
#258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4k
Forks
264
Avg merge
7d 21h
Merged PRs (30d)
1

Description

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
```go
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.