title: Golang beego framework to set the status code
body: <p>I am using Golang to write web applications, and I use beego framework. It seems the the framework have the internal status code returned for golang web server.</p>
  
  <p>I am wondering is there any method in golang or beego, or other tools that can let me control the status code returned to browser, say 200, or 500 or others number.</p>