title: How can I deploy beego app to Heroku
body: <p>I'm creating a web app in <em>beego</em> that I need to have running in Heroku.</p>
  
  <p>I can get it running normally if I just specify the binary for the app in the <code>Procfile</code>. But I want to have <em>swagger</em> available in the app, so I need to use <code>bee</code> to start the app like: </p>
  
  <p><code>bee run -downdoc=true -gendoc=true</code> </p>
  
  <p>so that it automatically creates and downloads all the swagger related icons, html, etc.</p>
  
  <p>But, if I specify that as the command in <code>Procfile</code> (even after adding <em>bee</em> to vendor so that it is available), it fails because the app doesn't have the <code>go</code> command available in runtime. The exact error is this:</p>
  
  <p><code>0001 There was an error running 'go version' command: exec: "go": executable file not found in $PATH</code></p>
  
  <p>How can I bypass this without adding the whole swagger specification to heroku (and github, since it is a repository)?</p>