Dmitri Shuralyov

Results 869 comments of Dmitri Shuralyov

> can be useful to use the output in various ways during generation Can you please elaborate on the use case? What problem is the new API intending to solve?...

Hi @coolaj86. Thank you for checking out vfsgen, and for filing a detailed issue. You're absolutely right. vfsgen documentation is currently not great, especially for newcomers to Go. It explains...

Sorry I missed this earlier. Your definition of `Assets` in `dev.go` specifies a relative path, which is prone to this kind of problem. When `go generate` runs `data.go`, the working...

Thanks for reporting this. This is a valid issue. It's also a known issue, but somehow I forgot to file it. So thanks for doing it. Yes, with the current...

I feel like resolving this would still be nice, if we can find a great way of doing it. But I agree the need for it is low right now....

@ababo, does the [above solution](https://github.com/shurcooL/vfsgen/issues/23#issuecomment-246617745) of using the [`union`](https://godoc.org/github.com/shurcooL/httpfs/union#ex-package) http.FileSystem not work for you?

I see. Separate packages certainly works. If you happen to get an idea for how to make this possible in a good way (without compromising on the nice properties of...

Do you mean to factor out all the common types into a package (which currently generate an error as soon as you have two or more instances of them in...

@ababo That sounds like a fantastic idea (and pretty obvious in hindsight, but I couldn't think of it before)... Thank you. I'll give it a shot.

@ababo I have a working prototype of this ready, see #25. Are you interested in trying it out and letting me know if it helps your use case?