broken on go 1.15.2?
alexanderturner opened this issue · comments
Alexander Turner commented
Could be me?
~ go get github.com/gcla/gowid/...
# github.com/gcla/gowid
../../gcla/gowid/app.go:828:25: cannot convert defSt.OnOff (type tcell.AttrMask) to type tcell.Style
../../gcla/gowid/decoration.go:485:20: cannot convert st.OnOff (type tcell.AttrMask) to type tcell.Style
../../gcla/gowid/decoration.go:924:27: constant -2 overflows tcell.Color
../../gcla/gowid/decoration.go:931:7: constant -2 overflows tcell.Color
~ go version
go version go1.15.2 darwin/amd64
Graham Clark commented
Thanks @alexanderturner , I'll look at this asap...
Graham Clark commented
Hi @alexanderturner - any chance you have GO111MODULE turned off? I tried this
mkdir foo
cd foo
go mod init foo
go get github.com/gcla/gowid/...
or
go get github.com/gcla/gowid@master
That seemed to work. I'm on go 1.15 linux/amd64
$ env | grep GO
GO111MODULE=on
Alexander Turner commented
That did it! Thanks for your responsiveness and glad this was a really easy one :)