Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/platform/supported.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:generate go test . -run=^TestGenerated$ -fix
    
    package platform
    
    // An OSArch is a pair of GOOS and GOARCH values indicating a platform.
    type OSArch struct {
    	GOOS, GOARCH string
    }
    
    func (p OSArch) String() string {
    	return p.GOOS + "/" + p.GOARCH
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:50:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top