Registry / utility / acobaugh-osrelease

acobaugh-osrelease

JSON →
library0.1.0gogounverified

A Go package for reading the contents of os-release files on Linux systems.

go get github.com/acobaugh/osrelease
INSTALL
IMPORT
SIG · ACOBAUGH-OSRELEASE
A
acobaugh-osrelease
utilitygov0.1.0
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.

osrelease
github.com/acobaugh/osrelease

Reads the os-release file and prints the OS ID.

package main import ( "fmt" "github.com/acobaugh/osrelease" ) func main() { data, err := osrelease.Read() if err != nil { panic(err) } fmt.Println(data["ID"]) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
44 hits · last 30 days
node
34
Meta
1
OpenAI (training)
1
Resources
acobaugh-osrelease — go get acobaugh-osrelease · libregistry