 i can not resolve the error here, which says " cannot assign 1 values to 2 variables" & "too few arguments in call to item.Value" please help me out with it, currently i'm using go version 1.15.8 on VScode
Activity
rishikeshkchapekar commentedon Feb 16, 2021
I had the same problem. It seems BadgerDB Go package has updated since the video series was published, and the
item.Value()
syntax has changedSo I looked up the Badger docs, and fixed the code according to the latest version. So now the code looks this:
You can see the latest docs here