Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DefaultConds (0.16 sec)

  1. src/cmd/go/scriptconds_test.go

    	"internal/platform"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"runtime"
    	"runtime/debug"
    	"strings"
    	"sync"
    )
    
    func scriptConditions() map[string]script.Cond {
    	conds := scripttest.DefaultConds()
    
    	add := func(name string, cond script.Cond) {
    		if _, ok := conds[name]; ok {
    			panic(fmt.Sprintf("condition %q is already registered", name))
    		}
    		conds[name] = cond
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top