Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for collectFuncs (1.56 sec)

  1. src/go/doc/doc.go

    			// Shouldn't be any cycles but stop just in case.
    			continue
    		}
    		p.syms[t.Name] = true
    		p.collectValues(t.Consts)
    		p.collectValues(t.Vars)
    		p.collectFuncs(t.Funcs)
    		p.collectFuncs(t.Methods)
    	}
    }
    
    func (p *Package) collectFuncs(funcs []*Func) {
    	for _, f := range funcs {
    		if f.Recv != "" {
    			r := strings.TrimPrefix(f.Recv, "*")
    			if i := strings.IndexByte(r, '['); i >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top