qur / withmock

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

const types are not processed correctly. #16

Closed qur closed 10 years ago

qur commented 10 years ago

For example, the following constant declaration:

const timeInterval time.Duration = time.Second*15

is output as the following in the generated code:

const timeInterval &{time Duration} = time.Second*15