I have go 1.21 specified in the go.mod, but I don’t think that mattered.

I added a tag to include my changes to my gocui and pushed (still did not add a 
go mod there), and it seems to work if I specify the tagged version - @latest 
did not pick it up, but maybe that uses the central registry which hadn’t 
updated yet. 

> On Jul 16, 2024, at 8:53 AM, Jason Phillips <jasonryanphill...@gmail.com> 
> wrote:
> 
> You don't mention what version of Go you're using but, note from the Go 1.22 
> release notes:
> 
> > go get is no longer supported outside of a module in the legacy GOPATH mode 
> > (that is, with GO111MODULE=off). Other build commands, such as go build and 
> > go test, will continue to work indefinitely for legacy GOPATH programs.
> 
> On Tuesday, July 16, 2024 at 9:51:02 AM UTC-4 Robert Engels wrote:
> Weird, even after I added the tag, using @latest did not pull the latest 
> code, I needed to specify the tag specifically @v0.3.1 
> 
> > On Jul 16, 2024, at 8:48 AM, Robert Engels <rob...@me.com 
> > <applewebdata://8771D811-7300-4EE3-847B-7BCD16583C34>> wrote: 
> > 
> > Thanks. Yea, because it needs a later tag now. I guess it never compiled 
> > after I changed go-trader to use modules. 
> > 
> >> On Jul 16, 2024, at 8:47 AM, Jan Mercl <0xj...@gmail.com 
> >> <applewebdata://8771D811-7300-4EE3-847B-7BCD16583C34>> wrote: 
> >> 
> >> On Tue, Jul 16, 2024 at 3:41 PM 'Robert Engels' via golang-nuts 
> >> <golan...@googlegroups.com 
> >> <applewebdata://8771D811-7300-4EE3-847B-7BCD16583C34>> wrote: 
> >> 
> >>> 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) 
> >> .... 
> >>> 
> >>> but these methods are defined in the robaho fork of gocui 
> >> 
> >> Those methods are not defined: 
> >> https://pkg.go.dev/github.com/jroimartin/go...@v0.3.0 
> >> <https://pkg.go.dev/github.com/jroimartin/gocui@v0.3.0> 
> > 
> 
> 
> -- 
> 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 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/7c2824b8-4a89-4104-8223-c35ecdfa7074n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/golang-nuts/7c2824b8-4a89-4104-8223-c35ecdfa7074n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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/14A28AF3-EFD6-4361-AF03-F36F006D2970%40ix.netcom.com.

Reply via email to