mvdan/interfacer

Not getting output for your `readme.md`s example

Closed this issue · 7 comments

Copied the example in readme.md nearly verbatim into here (senseless code but just attempting to evade any potential compiler-side code removal..) but interfacer github.com/metaleap/go-devgo works for some 1-3 secs but prints nothing, same with interfacer -v github.com/metaleap/go-devgo --- what am I missing?

mvdan commented

You're right - not sure why that happens. Removing the processBytes call seems to fix it. Will investigate.

Not at my end, what's your exact func def here?

mvdan commented

@metaleap please try now, it should work. I broke it last week by mistake.

Your fix did the trick, I'm now seeing the expected output 😁

For your amusement, interfacer & unparam in action 😏

zentient-01

mvdan commented

Nice :) If you'd like them to run faster, take a look at metalint: https://github.com/mvdan/lint

From the project description that thing sounds like a good idea! Will keep an eye on it, for now I gotta keep what works already and move on as linting is a very low-priority portion of my evolving vscode-backend-written-in-go =) they all run in parallel this way (not node's pretend parallelism) and are categorized into "fast" and "slower" linters where results are polled delayed-ly