{"id":42726963,"url":"https://github.com/gonejack/gf","last_synced_at":"2026-01-29T16:43:38.375Z","repository":{"id":57532595,"uuid":"279196484","full_name":"gonejack/gf","owner":"gonejack","description":"Golang fallback","archived":false,"fork":false,"pushed_at":"2020-07-13T03:21:48.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T15:57:35.451Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gonejack.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}},"created_at":"2020-07-13T03:06:47.000Z","updated_at":"2024-06-20T15:57:35.451Z","dependencies_parsed_at":"2022-09-26T18:11:36.143Z","dependency_job_id":null,"html_url":"https://github.com/gonejack/gf","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gonejack/gf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonejack%2Fgf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonejack%2Fgf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonejack%2Fgf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonejack%2Fgf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gonejack","download_url":"https://codeload.github.com/gonejack/gf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gonejack%2Fgf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28881008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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-29T16:43:38.308Z","updated_at":"2026-01-29T16:43:38.366Z","avatar_url":"https://github.com/gonejack.png","language":"Go","readme":"# gf\ngolang fallback\n\n```golang\nfunc EmptyFallback(s, def string) string {\n\tif s == \"\" {\n\t\treturn def\n\t}\n\treturn s\n}\n\nfunc ZeroFallback(i, def int) int {\n\tif i == 0 {\n\t\treturn def\n\t}\n\treturn i\n}\n\nfunc Max(i, max int) int {\n\tif i \u003e max {\n\t\treturn max\n\t}\n\treturn i\n}\n\nfunc Min(i, min int) int {\n\tif i \u003c min {\n\t\treturn min\n\t}\n\treturn i\n}\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonejack%2Fgf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgonejack%2Fgf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgonejack%2Fgf/lists"}