UnnoTed / fileb0x

a better customizable tool to embed files in go; also update embedded files remotely without restarting the server
MIT License
634 stars 53 forks source link

debug mode issues #15

Closed iu0v1 closed 6 years ago

iu0v1 commented 6 years ago

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 and debug: true - then I cannot access any files via http.FileServer.

Example: test_fileb0x.zip