gopherdata / gopherdata/gophernotes

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

未关闭
#258 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
4k
派生
264
平均合并
7 天 21 小时
30 天内合并 PR
1

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。