{"id":21436771,"url":"https://github.com/modfin/kv","last_synced_at":"2025-03-16T23:23:47.658Z","repository":{"id":106893036,"uuid":"200044898","full_name":"modfin/kv","owner":"modfin","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-02T08:43:27.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-23T09:34:00.038Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modfin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-08-01T12:17:16.000Z","updated_at":"2019-08-02T08:43:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c47f24c-c766-4e95-8fbf-efab24c2e120","html_url":"https://github.com/modfin/kv","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/modfin%2Fkv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fkv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fkv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modfin%2Fkv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modfin","download_url":"https://codeload.github.com/modfin/kv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945786,"owners_count":20372931,"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-11-23T00:15:28.475Z","updated_at":"2025-03-16T23:23:47.650Z","avatar_url":"https://github.com/modfin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KV\n\nA small wrapper around a key value in order to help with parsing of headers and such\n\n\n\n```go \n\nkv1 := kv.New(\"a\", 123.34)\nkv2 := kv.New(\"b\", \"123.34\")\nkv3 := kv.New(\"a\", []int{1,2,3,4})\n\nf1, ok := kv1.Float()\nf2 := kv1.FloatOr(-1.1)\n\nstr1, ok := kv2.String()\nstr2 := kv2.StringOr(\"default\")\n\ns1, ok := kv3.IntSlice()\ns2 := kv3.IntSliceOr([]int{1})\n\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodfin%2Fkv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodfin%2Fkv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodfin%2Fkv/lists"}