rjeczalik / interfaces

Code generation tools for Go.
MIT License
421 stars 32 forks source link

fix(readme): MarshalCSV .Format instead of .Parse #1

Closed daliborfilus closed 7 years ago

daliborfilus commented 8 years ago

The example in readme seems a little wrong just by looking at it, so I made a quick patch for it directly in github. I hope my thinking is correct...

rjeczalik commented 8 years ago

Hey @NoICE! Thanks for the fix, I agree the codegen could create more human-readable code. If you'd want to fix it, here's the place:

https://github.com/rjeczalik/interfaces/blob/master/cmd/structer/csv.go#L50

rjeczalik commented 7 years ago

Fixed by https://github.com/rjeczalik/interfaces/pull/3.