Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newLoggingRepo (0.12 sec)

  1. src/cmd/go/internal/modfetch/repo.go

    	return lookupCache.Do(lookupCacheKey{proxy, path}, func() Repo {
    		return newCachingRepo(ctx, path, func(ctx context.Context) (Repo, error) {
    			r, err := lookup(ctx, proxy, path)
    			if err == nil && traceRepo {
    				r = newLoggingRepo(r)
    			}
    			return r, err
    		})
    	})
    }
    
    // lookup returns the module with the given module path.
    func lookup(ctx context.Context, proxy, path string) (r Repo, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 16:36:19 UTC 2023
    - 15.2K bytes
    - Viewed (0)
Back to top