funcs

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSS

func CSS(a interface{}) (template.CSS, error)

func Dict

func Dict(values ...interface{}) (map[string]interface{}, error)

func GetUtilsFuncMap

func GetUtilsFuncMap() template.FuncMap

func HTML

func HTML(a interface{}) (template.HTML, error)

func HTMLAttr

func HTMLAttr(a interface{}) (template.HTMLAttr, error)

func JS

func JS(a interface{}) (template.JS, error)

func JSStr

func JSStr(a interface{}) (template.JSStr, error)

func Replace

func Replace(target, old, new interface{}, n int) (string, error)

func Slice

func Slice(args ...interface{}) interface{}

func Split

func Split(obj interface{}, delimiter string) ([]string, error)

func URL

func URL(a interface{}) (template.URL, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL