• Rob Pike's avatar
    exp/template: fixes and updates. · 9495dd31
    Rob Pike authored
    - fix line numbers - forgot to update state.line during execution
    - add a comment convention {{/* comment */}}
    - set.Template returns the named template in the set
    - set.Execute executes the named template in the set
    - use a local methodByName so this package can be used with earlier release of reflect.
    - use initial cap to detect exported names
    
    R=golang-dev, adg
    CC=golang-dev
    https://golang.org/cl/4668054
    9495dd31
Name
Last commit
Last update
..
Makefile Loading commit data...
exec.go Loading commit data...
exec_test.go Loading commit data...
funcs.go Loading commit data...
lex.go Loading commit data...
lex_test.go Loading commit data...
parse.go Loading commit data...
parse_test.go Loading commit data...
set.go Loading commit data...
set_test.go Loading commit data...