qur / withmock

Automatic Go package mock generation tool
Other
71 stars 9 forks source link

Problem with var statements #10

Closed qur closed 11 years ago

qur commented 11 years ago

When processing var statements, straight variable declarations with no values are not processed correctly.

"var Wibble *os.File" generates "var Wibble &{...}" instead :(.