{"id":13722211,"url":"https://github.com/matishsiao/goInfo","last_synced_at":"2025-05-07T14:31:20.047Z","repository":{"id":17771651,"uuid":"20636031","full_name":"matishsiao/goInfo","owner":"matishsiao","description":"get os information use golang","archived":false,"fork":false,"pushed_at":"2022-02-04T18:41:22.000Z","size":19,"stargazers_count":121,"open_issues_count":4,"forks_count":45,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-02-15T10:33:42.921Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matishsiao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-09T05:59:10.000Z","updated_at":"2024-02-05T14:48:33.000Z","dependencies_parsed_at":"2022-09-15T10:11:45.122Z","dependency_job_id":null,"html_url":"https://github.com/matishsiao/goInfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matishsiao%2FgoInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matishsiao%2FgoInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matishsiao%2FgoInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matishsiao%2FgoInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matishsiao","download_url":"https://codeload.github.com/matishsiao/goInfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252895621,"owners_count":21821193,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T01:01:25.911Z","updated_at":"2025-05-07T14:31:19.743Z","avatar_url":"https://github.com/matishsiao.png","language":"Go","funding_links":[],"categories":["System Information"],"sub_categories":[],"readme":"# Introduction:\n  GoInfo is get os platform information coding by Golang.\n  \n  It can help you to know os information.\n  \n  \n## Version:\n\nversion:0.0.1\n\n## Futures\n\nget linux information\n\nget windows information\n\nget osx information\n\nget freebsd information\n  \n  \n## Install:\n```sh\n  go get github.com/matishsiao/goInfo\n  go build\n```\n\n## Struct:\n```go\n  type GoInfoObject struct {\n\tGoOS string\n\tKernel string\n\tCore string\n\tPlatform string\n\tOS string\n\tHostname string\n\tCPUs int\n}\n```\n\n## Example:\n\n```go   \n   package main\n\n   import (\n\t   \"github.com/matishsiao/goInfo\"\n   )\n\n   func main() {\n\t\tgi, _ := goInfo.GetInfo()\n\t\tgi.VarDump()\n\t }\n}\n```\n\nIt's will show:\n\n```\n   GoOS: linux\n   Kernel: Linux\n   Core: 3.13.0-27-generic\n   Platform: x86_64\n   OS: GNU/Linux\n   Hostname: ubuntu\n   CPUs: 1\n```\n\n##License and Copyright\nThis software is Copyright 2012-2014 Matis Hsiao.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatishsiao%2FgoInfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatishsiao%2FgoInfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatishsiao%2FgoInfo/lists"}