codegangsta/inject

Pointer dereferencing

thomaswilde opened this issue · 1 comments

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".

Great suggestion. I will look into this.