func init() {
	gob.Register(OpenIDTokenResponse{})
	gob.Register(UserInfo{})
}
This package initialization function is used to register types with gob
so that they can be stored in sessions. github.com/gin-gonic/contrib/sessions
uses gob to write structs out into a cookie.
package heart
import (
	"encoding/gob"
	"net/http"
	"strings"
	"time"
	"github.com/gin-gonic/contrib/sessions"
	"github.com/gin-gonic/gin"
	"github.com/icrowley/fake"
	"github.com/juju/errors"
	"gopkg.in/square/go-jose.v1"
)