I have found several problems, in attempts to use 'debug' mode.
If try to enable 'debug' without changing my configuration file (which include compression options), I get:
./a_fileb0x.go:8: imported and not used: "compress/gzip".
When comment/remove the 'compression' section, get quite expected ressult:
template: files:8:37: executing "files" at <$Compression.Compres...>: can't evaluate field Compress in type *compression.Options
But if set compress: false and debug: true - then I cannot access any files via http.FileServer.
Hello.
I have found several problems, in attempts to use 'debug' mode.
If try to enable 'debug' without changing my configuration file (which include compression options), I get:
./a_fileb0x.go:8: imported and not used: "compress/gzip"
.When comment/remove the 'compression' section, get quite expected ressult:
template: files:8:37: executing "files" at <$Compression.Compres...>: can't evaluate field Compress in type *compression.Options
But if set
compress: false
anddebug: true
- then I cannot access any files viahttp.FileServer
.Example: test_fileb0x.zip