Registry / utility / matishsiao-goinfo

matishsiao-goinfo

JSON →
library0.0.0-20241216093258-66a9250504d6gogounverified

A Go library for retrieving system information such as OS, architecture, and hostname.

go get github.com/matishsiao/goInfo
INSTALL
IMPORT
SIG · MATISHSIAO-GOINFO
M
matishsiao-goinfo
utilitygov0.0.0-20241216093258-66a9250504d6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

goInfo
github.com/matishsiao/goInfo

Retrieves and prints system information.

package main import ( "fmt" "github.com/matishsiao/goInfo" ) func main() { info := goInfo.GetInfo() fmt.Printf("OS: %s, Arch: %s\n", info.GoOS, info.Kernel) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20241216093258-66a9250504d6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
matishsiao-goinfo — go get matishsiao-goinfo · libregistry