We had also the same challenges. It is a tough task to integrate go modules seamlessly into XCode, Android Studio and our CI. Our approach is to create a temporary workspace to vendor the entire gomobile build. We started first by using a bash script solution, but ended up with a custom build tool, which does all the heavy lifting now. We published it on https://github.com/worldiety/goup.
-- 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/95af72a8-0e7a-4795-a166-19e8e51bece9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.