Has it changed so that Go repo that imports a from another repo that doesn’t 
use modules no longer works? Maybe a recent change?

I have a repo github.com/robaho/go-trader <http://github.com/robaho/go-trader> 
that imports githut.com/robaho/gocui <http://githut.com/robaho/gocui> (which is 
a fork that doesn’t use modules).

I directly import from github.com/robaho/gocui <http://github.com/robaho/gocui> 
and my go.mod has

    github.com/robaho/gocui v0.3.0

The go get works, and the code is there, but it isn’t seeing my code - it seems 
like it is using the original gocui which has since added module support.

cmd/client/main.go:43:7: gui.Update undefined (type *gocui.Gui has no field or 
method Update)
cmd/client/main.go:65:6: gui.Update undefined (type *gocui.Gui has no field or 
method Update)
cmd/client/main.go:78:6: gui.Update undefined (type *gocui.Gui has no field or 
method Update)
cmd/client/main.go:104:6: gui.Update undefined (type *gocui.Gui has no field or 
method Update)
cmd/client/main.go:166:6: gui.Update undefined (type *gocui.Gui has no field or 
method Update)
cmd/client/main.go:213:5: v.MaxLines undefined (type *gocui.View has no field 
or method MaxLines)
cmd/client/main.go:226:5: v.MaxLines undefined (type *gocui.View has no field 
or method MaxLines)
cmd/client/main.go:234:5: v.MaxLines undefined (type *gocui.View has no field 
or method MaxLines)
cmd/client/main.go:251:5: v.Editor undefined (type *gocui.View has no field or 
method Editor)
cmd/client/main.go:256:5: g.Update undefined (type *gocui.Gui has no field or 
method Update)
cmd/client/main.go:256:5: too many errors

but these methods are defined in the robaho fork of gocui

I can add module support to my fork but it seems like this shouldn't be 
necessary… ???

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5F9D9A4C-5437-46BA-9ED2-681FA67EDC1D%40me.com.

Reply via email to