- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AnotherMethod (0.35 sec)
-
src/reflect/all_test.go
return []Value{ValueOf(U{a: 1, b: 2, c: 3})} }).Interface().(func() T) f() }) } type Point struct { x, y int } // This will be index 0. func (p Point) AnotherMethod(scale int) int { return -1 } // This will be index 1. func (p Point) Dist(scale int) int { //println("Point.Dist", p.x, p.y, scale) return p.x*p.x*scale + p.y*p.y*scale }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)