Sending Emails from Revel App

Sending emails is a very important functionality for any web app. Go provides an inbuilt net/smtp package. Sending emails is straight forward and simple. However, if you are using Revel, it provides a mail package which is an abstraction over the net/smtp package and makes you lazier. Lets explore Revel’s mail package a bit. We […]

Continue reading →

Adding pagination to Revel app

Very often, we need pagination support on our data, to make it convenient for user to browse through it. Unfortunately, there is no in-built support for pagination in revel, but its not hard to build one of your own. For pagination to work, we need 3 things Total number of data elements (totalCount) Number of […]

Continue reading →

Integrating Gorp with Revel

Being a web developer, I have been itching to start developing web application with Go. I explored around the laziest way to build one, and shortlisted Revel to build my first web application with Go. The quick start guide for Revel is more then helpful in getting up and running. Like in most web apps, […]

Continue reading →