package
Version:
v0.10.12
Opens a new window with list of versions in this module.
Published: Feb 4, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
IsWSL returns true if running in any WSL environment
IsWSL1 returns true if running specifically in WSL1
IsWSL2 returns true if running specifically in WSL2
func SupportsUnixSockets() bool
SupportsUnixSockets returns true if the platform reliably supports Unix domain sockets
Platform represents the detected platform
Detect returns the current platform, caching the result
String returns a human-readable platform name
Source Files
¶
Click to show internal directories.
Click to hide internal directories.