mammenj

Results 4 comments of mammenj

Still getting the error (below), the error comes when including "github.com/go-vgo/robotgo" packages > D:\Go\pkg\tool\windows_amd64\link.exe: running g++ failed: exit status 1 C:/tools/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/gopath/pkg/mod/github.com/andlabs/[email protected]/libui_windows_amd64.a(init.cpp.obj):C:/projects/libui/windows/init.cpp:170: multiple definition of `DllMain'; C:\Users\john\AppData\Local\Temp\go-link-719825359\000048.o:D:/gopath/pkg/mod/github.com/robotn/[email protected]/hook/windows/properties_c.h:193: first defined here...

Would the Subscribe be something like below, your thoughts? ``` type EventBus interface { Subscribe(eventTopic string) (Event, error) } ```

Thanks for the response, makes sense to have it as as a separate interface. Do you want me to pull and request for merge to include this interface and its...

How about something like this ``` type EventBus interface { Subscriber Publisher } type Subscriber interface { Subscribe(bucket, subset string) (Event, error) } type Publisher interface { Publish(event Event, bucket,...