Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readyFunc (0.13 sec)

  1. src/go/doc/reader.go

    }
    
    // isPredeclared reports whether n denotes a predeclared type.
    func (r *reader) isPredeclared(n string) bool {
    	return predeclaredTypes[n] && r.types[n] == nil
    }
    
    // readFunc processes a func or method declaration.
    func (r *reader) readFunc(fun *ast.FuncDecl) {
    	// strip function body if requested.
    	if r.mode&PreserveAST == 0 {
    		fun.Body = nil
    	}
    
    	// associate methods with the receiver type, if any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top