{"id":36706289,"url":"https://github.com/otterize/nilable","last_synced_at":"2026-01-12T11:43:00.808Z","repository":{"id":76010285,"uuid":"598284528","full_name":"otterize/nilable","owner":"otterize","description":"nilable is a tiny Go generics library for making non-nilable values nilable","archived":false,"fork":false,"pushed_at":"2025-04-22T13:52:31.000Z","size":15,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-22T16:02:38.490Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/otterize.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":"2023-02-06T19:38:37.000Z","updated_at":"2025-04-22T13:52:35.000Z","dependencies_parsed_at":"2024-06-19T16:02:24.672Z","dependency_job_id":null,"html_url":"https://github.com/otterize/nilable","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"9a144cdb7d0e547469da1c609f44c479c1ca325f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/otterize/nilable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterize%2Fnilable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterize%2Fnilable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterize%2Fnilable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterize%2Fnilable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otterize","download_url":"https://codeload.github.com/otterize/nilable/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otterize%2Fnilable/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-12T11:43:00.747Z","updated_at":"2026-01-12T11:43:00.803Z","avatar_url":"https://github.com/otterize.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nilable\nnilable is a tiny Go generics library for making non-`nil`able values nilable, and supports JSON serialization.\n\nYou too can stop using pointers when you don't need them!\n\n## From value to JSON\n```go\nnilableString := nilable.From(\"hello world\")\nprintln(nilableString.Set) // true\nprintln(nilableString.Item) // \"hello world\"\ndata, _ := json.Marshal(nilableString)\nprintln(string(data)) // `\"hello world\"` \n```\n\n## From null JSON to value\n```go\nvar nilableString Nilable[string]\njson.Unmarshal([]byte(\"null\"), \u0026nilJson)\nprintln(nilJson.Set) // false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotterize%2Fnilable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotterize%2Fnilable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotterize%2Fnilable/lists"}