vburenin / ifacemaker

Generate interfaces from structure methods.
Apache License 2.0
320 stars 43 forks source link

Type check input source code. #34

Closed mkraft closed 5 years ago

mkraft commented 5 years ago

I noticed that the existing tests were using invalid source code. If that's by design for some reason then we can close this PR but it seems to be consistent with Go practices to not accept "garbage in".

mkraft commented 5 years ago

I realized this means you have to pass in all of the files used by the input source code which may not be a great usability trade-off.