{"id":13413963,"url":"https://github.com/emersion/go-vcard","last_synced_at":"2025-05-15T10:01:53.355Z","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":114,"open_issues_count":7,"forks_count":36,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-14T00:02:00.963Z","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-04-19T11:40:56.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":254319715,"owners_count":22051072,"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-30T20:01:53.889Z","updated_at":"2025-05-15T10:01:51.694Z","avatar_url":"https://github.com/emersion.png","language":"Go","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","funding_links":[],"categories":["Text Processing","文本处理","文本处理`解析和操作文本的代码库`","Specific Formats","Template Engines","Bot Building","\u003cspan id=\"文字处理-text-processing\"\u003e文字处理 Text Processing\u003c/span\u003e"],"sub_categories":["HTTP Clients","Advanced Console UIs","Parsers/Encoders/Decoders","查询语","解析 器/Encoders/Decoders","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e"],"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"}