platform

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2026 License: MIT Imports: 2 Imported by: 0

README

Platform Detection

Helps human recognize the kind of system it is running on so it can adapt its behavior. Today it spots when you are inside Windows Subsystem for Linux.

  • Detects when running under Windows Subsystem for Linux
  • Lets the tool adapt to your system
  • Avoids errors when detection is unavailable
  • Keeps platform checks in one place
  • Works quietly in the background

Documentation

Overview

Package platform provides OS and environment detection helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsWSL

func IsWSL() bool

IsWSL reports whether the process is running inside Windows Subsystem for Linux.

Types

This section is empty.

Jump to

Keyboard shortcuts

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