- Sort Score
- Result 10 results
- Languages All
Results 61 - 65 of 65 for goodbye (0.18 sec)
-
src/text/template/exec_test.go
} func TestBlock(t *testing.T) { const ( input = `a({{block "inner" .}}bar({{.}})baz{{end}})b` want = `a(bar(hello)baz)b` overlay = `{{define "inner"}}foo({{.}})bar{{end}}` want2 = `a(foo(goodbye)bar)b` ) tmpl, err := New("outer").Parse(input) if err != nil { t.Fatal(err) } tmpl2, err := Must(tmpl.Clone()).Parse(overlay) if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
src/testing/testing.go
// func ExampleHello() { // fmt.Println("hello") // // Output: hello // } // // func ExampleSalutations() { // fmt.Println("hello, and") // fmt.Println("goodbye") // // Output: // // hello, and // // goodbye // } // // The comment prefix "Unordered output:" is like "Output:", but matches any // line order: // // func ExamplePerm() { // for _, value := range Perm(5) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
doc/go1.17_spec.html
for a <code>...T</code> parameter. In this case no new slice is created. </p> <p> Given the slice <code>s</code> and call </p> <pre> s := []string{"James", "Jasmine"} Greeting("goodbye:", s...) </pre> <p> within <code>Greeting</code>, <code>who</code> will have the same value as <code>s</code> with the same underlying array. </p> <h3 id="Operators">Operators</h3>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
doc/go_spec.html
for a <code>...T</code> parameter. In this case no new slice is created. </p> <p> Given the slice <code>s</code> and call </p> <pre> s := []string{"James", "Jasmine"} Greeting("goodbye:", s...) </pre> <p> within <code>Greeting</code>, <code>who</code> will have the same value as <code>s</code> with the same underlying array. </p> <h3 id="Instantiations">Instantiations</h3>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (1)