gopherdata / gopherdata/gophernotes

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

Đang mở
#258 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
4k
Fork
264
Merge trung bình
7 ngày 21 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.