alvaroloes / enumer

A Go tool to auto generate methods for your enums
Other
478 stars 111 forks source link

Fix runsThreshold limit condition #48

Closed ltpquang closed 5 years ago

ltpquang commented 5 years ago

An error will occure when the number of runs reaches the runsThreshold limit. In such a case, the generated file will get syntax error. This pull request intends to fix that problem. Please review the code @alvaroloes, thank you!

alvaroloes commented 5 years ago

Wow, thank you very much not only for reporting the error (which is a huge value per se) but for also providing the fix. Actions like this make me love open source and the community!

ltpquang commented 5 years ago

i'm very glad to :D