platform

package
v0.0.0-...-d93083a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 3 Imported by: 9

Documentation

Overview

Package platform contains definition of what ${os} and ${arch} mean for the current platform.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentArchitecture

func CurrentArchitecture() string

CurrentArchitecture returns the current CIPD architecture that the current go binary conforms to.

See the package doc for the list of possible values.

func CurrentOS

func CurrentOS() string

CurrentOS returns the current CIPD os that the current go binary conforms to.

See the package doc for the list of possible values.

func CurrentPlatform

func CurrentPlatform() string

CurrentPlatform returns the current CIPD platform which is just "${os}-${arch}" string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL