Pointer dereferencing
thomaswilde opened this issue · 1 comments
thomaswilde commented
https://github.com/codegangsta/inject/blob/master/inject.go#L37
https://github.com/codegangsta/inject/blob/master/inject.go#L74
In case you get a pointer to a pointer (to a pointer?) your code will fail.
Fix: change "if" to "for".
codegangsta commented
Great suggestion. I will look into this.