- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleMakeFunc (0.1 sec)
-
src/reflect/example_test.go
fmt.Println(v.Int()) default: fmt.Printf("unhandled kind %s", v.Kind()) } } // Output: // hi // 42 // unhandled kind func } func ExampleMakeFunc() { // swap is the implementation passed to MakeFunc. // It must work in terms of reflect.Values so that it is possible // to write code without knowing beforehand what the types // will be.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 20:04:36 UTC 2022 - 4.5K bytes - Viewed (0)