Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for acute (0.02 sec)

  1. src/html/template/exec_test.go

    	{"range count", `{{range $i, $x := count 5}}[{{$i}}]{{$x}}{{end}}`, "[0]a[1]b[2]c[3]d[4]e", tVal, true},
    	{"range nil count", `{{range $i, $x := count 0}}{{else}}empty{{end}}`, "empty", tVal, true},
    
    	// Cute examples.
    	{"or as if true", `{{or .SI "slice is empty"}}`, "[3 4 5]", tVal, true},
    	{"or as if false", `{{or .SIEmpty "slice is empty"}}`, "slice is empty", tVal, true},
    
    	// Error handling.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top