Documentation
¶
Index ¶
Constants ¶
View Source
const ( Windows = "windows" MacOS = "darwin" Linux = "linux" )
OS type constants
Variables ¶
This section is empty.
Functions ¶
func GetArchitecture ¶
func GetArchitecture() string
GetArchitecture returns the system architecture (amd64, arm64, etc.)
func GetWSLVersion ¶
func GetWSLVersion() string
GetWSLVersion attempts to determine the specific WSL version
func IsContainerized ¶
func IsContainerized() bool
IsContainerized attempts to detect if running in a container environment
func IsDevEnvironment ¶
func IsDevEnvironment() bool
IsDevEnvironment checks if the application is running in a development environment based on environment variables
func IsRunningInWSL ¶
func IsRunningInWSL() bool
IsRunningInWSL checks if the current Linux environment is specifically running under Windows WSL
func IsUnix ¶
func IsUnix() bool
IsUnix returns true if running on a Unix-like system (macOS, Linux, BSD, etc.)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.