RasmusLindroth / tut

TUI for Mastodon with vim inspired keys
https://tut.anv.nu
MIT License
449 stars 29 forks source link

tut v1.0.2 fails to build on OpenBSD #134

Closed russsharek closed 2 years ago

russsharek commented 2 years ago

~/tut-1.0.2 $ go build

github.com/RasmusLindroth/tut/feed

feed/feed.go:109:28: f.loadingNewer.mux.TryLock undefined (type sync.Mutex has no field or method TryLock) feed/feed.go:127:28: f.loadingOlder.mux.TryLock undefined (type sync.Mutex has no field or method TryLock)

RasmusLindroth commented 2 years ago

I think you need to update your version of Go, because TryLock seems to have been introduced in version 1.18

russsharek commented 2 years ago

$ go version go version go1.17.7 openbsd/amd64

Mystery solved. Thank you!