Documentation ¶
Index ¶
- Variables
- func GetCookieStore(r *http.Request) *sessions.CookieStore
- func GetCurrentUser(r *http.Request) *models.User
- func GetMigrationInfo() (latest_db_version int64, migrations []*goose.Migration, err error)
- func ListTemplates() []string
- func RenderTemplate(out http.ResponseWriter, r *http.Request, tpl_file string, ...)
- func RunMigrations(version int64) error
- func TimeRelativeToNow(in time.Time) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Store *sessions.CookieStore
Functions ¶
func GetCookieStore ¶
func GetCookieStore(r *http.Request) *sessions.CookieStore
func GetMigrationInfo ¶
func RenderTemplate ¶
func RunMigrations ¶
func TimeRelativeToNow ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.