Go bind fails from inside my project folder


(Anurag Jha) #1

Hi beautiful gophers,

I am trying out gomobile but have hit a wall.

I have created a website using go and postgres. Now I wanted to convert it to iOS app.

So from inside my project folder

  1. first it used cmd “gomobile init”
  2. now am trying “gomobile bind -target=ios” from inside my project folder.
    And I am getting binding main() package not supported, what does it mean and how do I bind properly.

Please advise how to bind properly to build iOS app.

Thanks a ton,