- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleKeyValueImport (0.39 sec)
-
src/go/doc/testdata/examples/multiple.go
} fmt.Printf("The date is %s\n", out) } func ExampleKeyValue() { v := struct { a string b int }{ a: "A", b: 1, } fmt.Print(v) // Output: a: "A", b: 1 } func ExampleKeyValueImport() { f := flag.Flag{ Name: "play", } fmt.Print(f) // Output: Name: "play" } var keyValueTopDecl = struct { a string b int }{ a: "B", b: 2, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 16:17:51 UTC 2022 - 1.7K bytes - Viewed (0)