Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addValueFuncs (0.29 sec)

  1. src/text/template/template.go

    // so calls can be chained.
    func (t *Template) Funcs(funcMap FuncMap) *Template {
    	t.init()
    	t.muFuncs.Lock()
    	defer t.muFuncs.Unlock()
    	addValueFuncs(t.execFuncs, funcMap)
    	addFuncs(t.parseFuncs, funcMap)
    	return t
    }
    
    // Lookup returns the template with the given name that is associated with t.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top