Michael Hoisie
Michael Hoisie
This is a great idea, and it's more consistent with the Go conventions. There are a couple PR that address this, so it should be in shortly.
You're right, it would be great to have some go examples. In the mean time I added a link to the examples folder of the original mustache project.
Thanks for reporting this. I actually didn't know this feature existed!
Just pushed some initial code that should support most cases, though I still need to add support for zero-length arrays or slices.
Ugh, this is probably related to the change in strings.Split
Ah, I ran into the issue you were having. It should be fixed now. Care to test again?
Would specifying an absolute path work for you?
Just pushed a change that should fix it. Can you test?
Just my unsolicited 2c: We added identical functionality to Backbone models around a year ago. It's been helpful in some situations, but in general I've been moving away from 'when'...
Oops, I meant we extended Backbone models to add this functionality in a private repo. This feature has never been in the main Backbone repo. Your use case sounds interesting...