Documentation ¶
Index ¶
- func CWebp(file, out string) error
- func Contains(s, sep string) bool
- func CopyFile(path, dst string) error
- func FormatParam(path string) string
- func Gzip(file, out string) error
- func MapOf(kvs ...interface{}) (map[string]interface{}, error)
- func MatchInParam(s1, s2 string) bool
- func MatchRoute(path, url string) bool
- func MinifyCss(file, out string) error
- func Obfuscate(file, out string) error
- func ParseTemplates(dir string, funcs template.FuncMap) (*template.Template, error)
- func ReplaceFieldIND(dst, replacement interface{}) error
- func ShouldCWebp(ext string) bool
- func ShouldGZip(name string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatParam ¶
func MatchInParam ¶
func MatchRoute ¶
func ParseTemplates ¶
func ReplaceFieldIND ¶
func ReplaceFieldIND(dst, replacement interface{}) error
ReplaceFieldIND replace field if not default value
func ShouldCWebp ¶
func ShouldGZip ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.