Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for featureWithoutContext (0.17 sec)

  1. src/cmd/api/main_test.go

    func set(items []string) map[string]bool {
    	s := make(map[string]bool)
    	for _, v := range items {
    		s[v] = true
    	}
    	return s
    }
    
    var spaceParensRx = regexp.MustCompile(` \(\S+?\)`)
    
    func featureWithoutContext(f string) string {
    	if !strings.Contains(f, "(") {
    		return f
    	}
    	return spaceParensRx.ReplaceAllString(f, "")
    }
    
    // portRemoved reports whether the given port-specific API feature is
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top