Closed paracha3 closed 4 years ago
Use go get github.com/rwynn/gtm@master
to add the latest version to go.mod. This repository needs to be fixed to support go modules at version 2.
@paracha3 this should be fixed now if you put github.com/rwynn/gtm/v2 v2.0.9
in your go.mod. Also, update the import in your go code to use github.com/rwynn/gtm/v2
.
I will give it a shot tomorrow morning and post back. Thanks for prompt fix!
Its working fine.
I just started very simple go project for changeStream with mongodb official golang package. I am using latest version of both packages. My go.mod files looks like
When i try to build
go build main.go
i get the following error messagego: errors parsing go.mod: /Users/johnsmith/Desktop/Mongos/go.mod:6: require github.com/rwynn/gtm: version "v2.0.6" invalid: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2