Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CallerPos (0.19 sec)

  1. src/cmd/go/go_test.go

    				}
    
    				rel := search.InDir(a.Target, testGOROOT)
    				if rel == "" {
    					return nil
    				}
    
    				callerPos := ""
    				if _, file, line, ok := runtime.Caller(1); ok {
    					if shortFile := search.InDir(file, filepath.Join(testGOROOT, "src")); shortFile != "" {
    						file = shortFile
    					}
    					callerPos = fmt.Sprintf("%s:%d: ", file, line)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top