Once the command has executed successfully, the web application will run on the default Beego port 8080.
Next, browsing http://localhost:8080/employee?id=2 will give you the employee details, as shown in the following screenshot:
Whereas browsing http://localhost:8080/employee?id=4 as follows:
It will give you the error message as Some Error Occurred. This is because we have asked for details of the employee with the ID as 4, which does not exist in the static employee array, hence the generic error thrown from the server, which is handled by the ErrorGeneric handler defined in errorcontroller.go.