Patrik Bartak

Results 4 comments of Patrik Bartak

To keep it simple I just copied the auto sync call before the local file is changed. The only drawback I see is that there are now two printouts. This...

I'm new to open source so I'm happy to practice a bit on a smaller project

Let's say I want to test `func AutoSync(file string)` that uses a sync `Client`. I have two options: refactor to make `Client` an argument, or using a mocking package like...