Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Cut (0.11 sec)

  1. src/cmd/api/main_test.go

    	var nonblank []string
    	for i, line := range lines {
    		line = strings.TrimSpace(line)
    		if line == "" || strings.HasPrefix(line, "#") {
    			continue
    		}
    		if needApproval {
    			feature, approval, ok := strings.Cut(line, "#")
    			if !ok {
    				log.Printf("%s:%d: missing proposal approval\n", filename, i+1)
    				exitCode = 1
    			} else {
    				_, err := strconv.Atoi(approval)
    				if err != nil {
    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