runtime

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Windows = runtime.GOOS == "windows"

Windows indicates if the CLI binary's runtime OS is Windows.

NOTE: We use the same conditional check multiple times across the code base and I noticed I had a typo in a few instances where I had omitted the "s" at the end of "window" which meant the conditional failed to match when running on Windows. So this avoids that issue in case we need to add more uses of it.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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