blockloop / scan

Tiny lib to scan SQL rows directly to structs, slices, and primitive types

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot upgrade to v2.0.0

jjsquady opened this issue · comments

Hi, I`m trying to update to version 2.0.0, but go get -u points always do 1.3.0

What I`m doing wrong?

Thanks :D

You are doing nothing wrong, the go.mod file has not been correctly updated for this. I will now submit a pull request to fix this.

As a temporary workaround you can use

github.com/blockloop/scan@445acc200003cd77fb417a453b6ece6f14fa3c79

For example

go get -u github.com/blockloop/scan@445acc200003cd77fb417a453b6ece6f14fa3c79

Once the PR is merged the import would become

import "github.com/blockloop/scan/v2"

Sorry we completely missed this. I merged #46 and re-tagged so everything should be good!
I also fixed notifications so that we won't miss future issues.