Golang Beego use models in your controllers

03 January, 2017

This post is meant to guide you on how to use models inside your controllers, not using theĀ ORM way. Meaning you can implement your own reusable functions, another way of handeling your queries and even better, choose another database besides MySQL, Sqlite, PostgreSQL which ORM only supports.

Golang Beego automatically load templates

31 December, 2016

In this small post on how to automatically load a template so you don't have to 'include' your header and footer for every controller.

Home