{"id":13367132,"url":"https://github.com/emersion/Go-vcard","last_synced_at":"2025-03-12T18:31:56.794Z","repository":{"id":18961995,"uuid":"85677193","full_name":"emersion/go-vcard","owner":"emersion","description":"A Go library to parse and format vCard","archived":false,"fork":false,"pushed_at":"2024-10-24T21:38:15.000Z","size":87,"stargazers_count":113,"open_issues_count":7,"forks_count":36,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-08T06:47:27.544Z","etag":null,"topics":["contacts","vcard"],"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/emersion.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":"2017-03-21T08:30:36.000Z","updated_at":"2025-02-26T03:50:17.000Z","dependencies_parsed_at":"2024-11-13T08:00:49.871Z","dependency_job_id":"d407fadd-9141-4921-9b96-a2977bac7477","html_url":"https://github.com/emersion/go-vcard","commit_stats":{"total_commits":65,"total_committers":9,"mean_commits":7.222222222222222,"dds":0.2153846153846154,"last_synced_commit":"c9703dde27fff1a7dae0ab6a0a483e9fa31a13f7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fgo-vcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fgo-vcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fgo-vcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fgo-vcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emersion","download_url":"https://codeload.github.com/emersion/go-vcard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243271444,"owners_count":20264457,"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":["contacts","vcard"],"created_at":"2024-07-30T00:01:39.314Z","updated_at":"2025-03-12T18:31:56.524Z","avatar_url":"https://github.com/emersion.png","language":"Go","funding_links":[],"categories":["文本处理","文本處理"],"sub_categories":["高级控制台界面","高級控制台界面"],"readme":"# go-vcard\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/emersion/go-vcard.svg)](https://pkg.go.dev/github.com/emersion/go-vcard)\n[![builds.sr.ht status](https://builds.sr.ht/~emersion/go-vcard/commits.svg)](https://builds.sr.ht/~emersion/go-vcard/commits?)\n\nA Go library to parse and format [vCard](https://tools.ietf.org/html/rfc6350).\n\n## Usage\n\n```go\nf, err := os.Open(\"cards.vcf\")\nif err != nil {\n\tlog.Fatal(err)\n}\ndefer f.Close()\n\ndec := vcard.NewDecoder(f)\nfor {\n\tcard, err := dec.Decode()\n\tif err == io.EOF {\n\t\tbreak\n\t} else if err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tlog.Println(card.PreferredValue(vcard.FieldFormattedName))\n}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femersion%2FGo-vcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femersion%2FGo-vcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femersion%2FGo-vcard/lists"}