wtf: go get fails
go get github.com/senorprogrammer/wtf
# github.com/senorprogrammer/wtf/gcal
../go/src/github.com/senorprogrammer/wtf/gcal/widget.go:235: duration.Round undefined (type time.Duration has no field or method Round)
go version go1.8.3 linux/amd64
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (3 by maintainers)
I had a similar issue:
Using
go get -ufixed it for me. I guess it updated some cached dependency or something?wtfdoesn’t seem to vendor deps, right?Same error as @talonx …
go version:
So I decided to troubleshoot…
Upgraded Go via Brew (MacOS):
I was then able to build & run wtf with the following commands:
Upgrading go worked for me:
Hope this works for others … 😉