func (r *Type) MethodNames() []string {
	names := make([]string, 0, len(r.method))
	for name := range r.method {
		names = append(names, name)
	}
	sort.Strings(names)
	return names
}
// MethodNames returns the names of all the root object
// methods on the receiving object.
MethodNames returns the names of all the root object
methods on the receiving object.
// MethodNames returns the names of all the root object // methods on the receiving object .
func (r *Type) MethodNames() []string {
	names := make([]string, 0, len(r.method))
	for name := range r.method {
		names = append(names, name)
	}
	sort.Strings(names)
	return names
}
func ( r * Type ) MethodNames ( ) [ ] string { names := make ( [ ] string , 0 , len ( r . method ) ) for name := range r . method { names = append ( names , name ) } sort . Strings ( names ) return names }
MethodNames returns the names of all the root object
methods on the receiving object.
MethodNames returns the names of all the root object methods on the receiving object .