-
Notifications
You must be signed in to change notification settings - Fork 116
Error on livesql binlog.go #364
Comments
Just hit the same issue. go.mod:
|
Looks like this project runs CI against Go 1.10. I tried porting it to Go modules / Go 1.15 but ran into several issues once I got it moved / deleted vendor.
|
@soniyj If this is still relevant to you, go ahead and try my fork:
I changed around the syntax in the problem area until I could get it to compile in my Go 1.15 project which uses this lib. And change the username to mine: jrcichra. I made a PR to hopefully to help understand why this is an issue. The code Go is complaining about looks correct to me; although I'm not very experienced with Go pre-modules. |
hello @jrcichra thanks for the answer after such a long time. Yes it is as soon as I have time I will check it. Thanks |
I don't know about this bug in particular, but for what it's worth, we are using 4e12de3 successfully with go 1.15, but we vendor all our go modules, so your mileage may vary:
We should definitely update the CI target. I'll see if I can get that done. EDIT: updating CI target to 1.15 in #450. |
Hello tried to follow the steps in your example at
https://github.com/samsarahq/thunder/tree/master/example
But got an error while getting the module
thunder@v0.5.0/livesql/binlog.go:108:3: cannot use &replication.BinlogSyncerConfig literal (type *replication.BinlogSyncerConfig) as type replication.BinlogSyncerConfig in argument to replication.NewBinlogSyncer
I would like to use your framework in one of our projects, would you mind to have a look?
Thanks.
The text was updated successfully, but these errors were encountered: