package
0.0.0-20241018223127-a062be16fda2
Repository: https://github.com/activestate/cli.git
Documentation: pkg.go.dev
# README
sysinfo
Go package for detecting the current system's information (e.g. OS, arch, etc.)
This package is especially required by the ActiveState-CLI tool.
# Functions
Architecture returns the system's architecture.
Compilers returns the system's available compilers.
Libc returns the system's C library.
OS returns the system's OS.
OSVersion returns the system's OS version.
# Constants
Amd64 represents the x86_64 (64-bit) architecture.
Arm represents the ARM architecture.
BsdLibc represents the BSD C library.
Clang represents the LLVM/Clang toolchain.
Gcc represents the GNU C Compiler toolchain.
Glibc represents the GNU C library.
I386 represents the Intel x86 (32-bit) architecture.
Linux represents the Linux operating system.
Mac represents the Macintosh operating system.
Mingw represents the Minimalist GNU for Windows toolchain.
Msvc represents the Microsoft Visual C++ toolchain.
Msvcrt represents the Microsoft Visual C++ runtime library.
UnknownArch represents an unknown architecture.
UnknownLibc represents an unknown C library.
UnknownOs represents an unknown operating system.
No description provided by the author
Windows represents the Windows operating system.
# Structs
CompilerInfo represents a compiler toolchain returned by Compiler().
LibcInfo represents a LibC returned by Libc().
OSVersionInfo represents an OS version returned by OSVersion().
No description provided by the author
# Type aliases
ArchInfo represents an architecture returned by Architecture().
CompilerNameInfo reprents a compiler toolchain name.
LibcNameInfo represents a C library name.
OsInfo represents an OS returned by OS().