Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mvl (0.2 sec)

  1. src/cmd/go/internal/gover/mod_test.go

    		ModSort(out)
    		return out
    	})
    }
    
    var modSortTests = []testCase1[[]module.Version, []module.Version]{
    	{
    		mvl(`z v1.1; a v1.2; a v1.1; go 1.3; toolchain 1.3; toolchain 1.2; go 1.2`),
    		mvl(`a v1.1; a v1.2; go 1.2; go 1.3; toolchain 1.2; toolchain 1.3; z v1.1`),
    	},
    }
    
    func mvl(s string) []module.Version {
    	var list []module.Version
    	for _, f := range strings.Split(s, ";") {
    		f = strings.TrimSpace(f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:51:28 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top