{"id":52043,"library":"acobaugh-osrelease","title":"OS Release Reader","description":"A Go package for reading the contents of os-release files on Linux systems.","status":"active","version":"0.1.0","language":"go","source_language":null,"source_url":"https://github.com/acobaugh/osrelease","tags":["os","release","linux","system"],"install":[{"cmd":"go get github.com/acobaugh/osrelease","lang":"bash","label":"Install github.com/acobaugh/osrelease"}],"dependencies":[],"imports":[{"symbol":"osrelease","correct":"github.com/acobaugh/osrelease"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/acobaugh/osrelease\"\n)\n\nfunc main() {\n\tdata, err := osrelease.Read()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(data[\"ID\"])\n}","lang":"go","description":"Reads the os-release file and prints the OS ID."},"warnings":[],"env_vars":null,"search_vec":"'content':10 'file':15 'go':5 'linux':17,21 'os':1,13,19 'os-releas':12 'packag':6 'read':8 'reader':3 'releas':2,14,20 'system':18,22","created_at":"2026-06-15T06:39:39.458560+00:00","updated_at":"2026-06-15T06:39:39.458560+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/acobaugh/osrelease","github":"https://github.com/acobaugh/osrelease","docs":"https://pkg.go.dev/github.com/acobaugh/osrelease#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}