platform

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package platform reports the host OS for skip/only gating.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Matches

func Matches(os string) bool

Matches reports whether the given condition OS equals the host OS. An empty condition OS matches nothing meaningful and returns false.

func OS

func OS() string

OS returns the normalized host operating system: linux, darwin, or windows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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