Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for exportedMethods (0.11 sec)

  1. src/reflect/type.go

    func (t *rtype) exportedMethods() []abi.Method {
    	ut := t.uncommon()
    	if ut == nil {
    		return nil
    	}
    	return ut.ExportedMethods()
    }
    
    func (t *rtype) NumMethod() int {
    	if t.Kind() == Interface {
    		tt := (*interfaceType)(unsafe.Pointer(t))
    		return tt.NumMethod()
    	}
    	return len(t.exportedMethods())
    }
    
    func (t *rtype) Method(i int) (m Method) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top