Closed pourplusquoi closed 1 year ago
make sure to update to latest version, both package tests and example you provided do work for me correctly
1
<nil>
Process finished with the exit code 0
what is the go version you are using ? and please confirm if error still persists after you run
go get -u github.com/vardius/gollback && go mod tidy
Thanks for your reply, it can be reproduced on https://go.dev/play/p/ynNbtJ4q8VI. Probably because you didn't release the change.
good catch, I must have forgotten to do that https://github.com/vardius/gollback/releases/tag/v1.1.1
👍
Reproduce code:
It prints:
I would expect it to return 1 or 2. Am I missing something?