title: How to apply bootstrap styling to auto-generated form
body: <p>Using beego render form to build html form
  <a href="https://beego.me/docs/mvc/view/view.md#renderform" rel="nofollow noreferrer">https://beego.me/docs/mvc/view/view.md#renderform</a></p>
  
  <pre><code>type User struct {
  Id    int         `form:"-"`
  Name  interface{} `form:"username"`
  Age   int         `form:"age,text,age:"`
  Sex   string
  Intro string `form:",textarea"`
  }
  
  &lt;form action="" method="post"&gt;
  {{.Form | renderform}}
  &lt;/form&gt;
  </code></pre>
  
  <p>This renders the form correctly but with poor html formatting
  <a href="https://i.stack.imgur.com/KK9jk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KK9jk.png" alt="enter image description here"></a></p>
  
  <p>What can I do to add bootstrap 4 stlying</p>