Directories ¶
Path | Synopsis |
---|---|
db
|
|
email
|
|
emailfactory
Uses Hermes to create the plain text and html version of the email - ready to be sent using sendemail package
|
Uses Hermes to create the plain text and html version of the email - ready to be sent using sendemail package |
Package flash provides one-time messages for the user.
|
Package flash provides one-time messages for the user. |
funcmap
|
|
asset
Package asset contains FuncMap for template packages to provide asset paths with timestamps.
|
Package asset contains FuncMap for template packages to provide asset paths with timestamps. |
link
Package link provides a funcmap for html/template to generate a hyperlink.
|
Package link provides a funcmap for html/template to generate a hyperlink. |
noescape
Package noescape provides a funcmap for html/template to prevent escaping a string.
|
Package noescape provides a funcmap for html/template to prevent escaping a string. |
prettytime
Package prettytime provides a funcmap for html/template to that displays time using an easy to read format.
|
Package prettytime provides a funcmap for html/template to that displays time using an easy to read format. |
Convenience wrapper for our image manipulation tools
|
Convenience wrapper for our image manipulation tools |
circlecrop
Circle crop a square image with transparency From https://blog.golang.org/go-imagedraw-package Golang BSD Licensed code snippet
|
Circle crop a square image with transparency From https://blog.golang.org/go-imagedraw-package Golang BSD Licensed code snippet |
crushpng
Wrapper for pngquant - based on https://github.com/yusukebe/go-pngquant MIT Licensed
|
Wrapper for pngquant - based on https://github.com/yusukebe/go-pngquant MIT Licensed |
randomavatar
Create random avatar image from gender and username
|
Create random avatar image from gender and username |
smartcrop
Crop an image with intelligent content selection
|
Crop an image with intelligent content selection |
Package session provides a wrapper for gorilla/sessions package.
|
Package session provides a wrapper for gorilla/sessions package. |
Package view provides thread-safe caching of HTML templates.
|
Package view provides thread-safe caching of HTML templates. |
viewmodify
|
|
authlevel
Package authlevel adds an AuthLevel variable to the view template.
|
Package authlevel adds an AuthLevel variable to the view template. |
flash
Package flash adds the flashes to the view template.
|
Package flash adds the flashes to the view template. |
uri
Package uri adds URI shortcuts to the view template.
|
Package uri adds URI shortcuts to the view template. |
Package xsrf is a container for the gorilla csrf package
|
Package xsrf is a container for the gorilla csrf package |
Click to show internal directories.
Click to hide internal directories.