Open 2me2 opened 1 month ago
Related Issues and Documentation
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
2me2 was originally a different name i just find/replaced it so you can assume where you see 2me2 it could have been "asdf" or something else. Just in case someone points out gomodule name cannot start with a number (the original didn't).
/CC @hyangah @dmitshur
Just in case someone points out gomodule name cannot start with a number (the original didn't).
This is me, and this was my misundertanding: I found a module name only with a number worked https://go.dev/play/p/FfZKGZu-nQn
Just because I'm curious if maybe some code wasn't expecting the ".0" (I think that's new-ish) maybe try with 1.23.1. That's a very long shot, though.
I've tried with 1.23.1 and same issue. Removing the .0 gets an error just running go mod tidy.
It works if I do 1.22.7 for example.
Go version
go version go1.23.0.darwin-amd64
Output of
go env
in your module/workspace:What did you do?
go install golang.org/x/mobile/cmd/gomobile@latest gomobile init go get golang.org/x/mobile/cmd/gomobile@latest
gomobile bind -target ios -x ./mobile
inside ./mobile is a file mobile.go that has the following:
go.mod specifically specifies go1.23.0
What did you see happen?
What did you expect to see?
Expected to see everything work fine without the no exported names in the package errors. It works just fine if in go.mod I change the version to 1.22.x. Only seeing this issue in 1.23.x