gopherdata / gopherdata/gophernotes

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

Ouverte
#258 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
4k
Forks
264
Merge moyen
7 j 21 h
PR mergées (30 j)
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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.