package models import ( "html/template" "time" ) type Post struct { Id int Name string Time time.Time FormattedTime string Brief template.HTML Content template.HTML }