Oh, my bad. I've updated the example to properly reference the embedded fs'
Open.
https://play.golang.org/p/wbfrElxCsH
On Thu, Sep 15, 2016 at 8:09 PM tobyjaguar wrote:
> Rodrigo, I may need a bit more help with your example.
> Can you get me past the Open function, when
http.FileServer takes a FileSystem implementation, http.Dir will basically
allow accessing any dir/file that's why you get the index for directories.
You can create a custom FileSystem implementation:
https://play.golang.org/p/BcMLX2NWW7
On Thu, Sep 15, 2016 at 1:40 PM tobyjaguar
Micky, I'm not sure where you're quoting from but they never said it's
never gonna happen.
>From the FAQ: "Generics may well be added at some point." and "This remains
an open issue".
https://golang.org/doc/faq#generics
On Mon, Jun 20, 2016 at 4:54 PM Micky wrote:
>