{"id":16547960,"url":"https://github.com/xjh22222228/mac","last_synced_at":"2025-07-26T12:40:37.000Z","repository":{"id":113051196,"uuid":"380102682","full_name":"xjh22222228/mac","owner":"xjh22222228","description":"get mac address for go.","archived":false,"fork":false,"pushed_at":"2021-06-27T11:32:55.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-14T14:58:57.859Z","etag":null,"topics":["macaddress"],"latest_commit_sha":null,"homepage":"","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/xjh22222228.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-25T02:28:28.000Z","updated_at":"2023-03-04T04:36:01.000Z","dependencies_parsed_at":"2023-06-07T06:15:31.918Z","dependency_job_id":null,"html_url":"https://github.com/xjh22222228/mac","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fmac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fmac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fmac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjh22222228%2Fmac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjh22222228","download_url":"https://codeload.github.com/xjh22222228/mac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241844281,"owners_count":20029611,"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":["macaddress"],"created_at":"2024-10-11T19:24:08.041Z","updated_at":"2025-03-04T11:44:51.025Z","avatar_url":"https://github.com/xjh22222228.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n## MAC\nGet the local mac address.\n\n\n\n## Install\n```bash\n$ go get -u github.com/xjh22222228/mac\n```\n\n\n## Usage\n```go\n// Fetch the computer's MAC address\nmacAddr, err := mac.Default()\n\n// Fetch the computer's MAC address for a specific interface\nmacAddr, err := mac.AddrWithIface(\"en0\")\n\n// Validate that an address is a MAC address\nisMac := mac.IsIsMAC(\"ac:de:48:00:11:22\")\n```\n\n\n## LICENSE\n[MIT](./LICENSE)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjh22222228%2Fmac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjh22222228%2Fmac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjh22222228%2Fmac/lists"}