Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MatchInModule (0.14 sec)

  1. src/cmd/go/internal/modget/get.go

    		}
    		return modload.CheckAllowed(ctx, m)
    	}
    }
    
    // matchInModule is a caching wrapper around modload.MatchInModule.
    func (r *resolver) matchInModule(ctx context.Context, pattern string, m module.Version) (packages []string, err error) {
    	return r.matchInModuleCache.Do(matchInModuleKey{pattern, m}, func() ([]string, error) {
    		match := modload.MatchInModule(ctx, pattern, m, imports.AnyTags())
    		if len(match.Errs) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
Back to top