gopherdata / gopherdata/gophernotes

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

Aperta
#258 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
4k
Fork
264
Merge medio
7g 21h
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.