package
module
Version:
v0.0.0-...-39598e3
Opens a new window with list of versions in this module.
Published: Jun 25, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
#RTF
Frequently used template function for revel framework
Using
1. Import
Import in your revel project app/init.go file
import _ "github.com/baiyuxiong/rtf"
2. Use in template file
{{now}}
Function list
###Number functions
- add
- ueq
- minus
- multiply
- divide
- less
- lte
- gte
- percentageToInt
- percent
Date and time functions
- timestamp
- year
- month
- week
- day
- today
- now
- formatTime
- dayLeft
String functions
- lower
- upper
- splitComma
- shortContent
- join
- contains
- replace
- md5
- raw
- randomNumeric
- randomAlphas
- randomNumeric
Others
- nil
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.