{"id":22338267,"url":"https://github.com/ipfans/defaults","last_synced_at":"2025-08-09T07:06:30.954Z","repository":{"id":145342204,"uuid":"344785880","full_name":"ipfans/defaults","owner":"ipfans","description":"Fill default values of struct.","archived":false,"fork":false,"pushed_at":"2021-03-05T11:27:29.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-22T19:32:29.756Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipfans.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":"2021-03-05T11:14:05.000Z","updated_at":"2024-06-19T12:37:53.456Z","dependencies_parsed_at":null,"dependency_job_id":"98ec6700-1726-45dd-9462-29e5908bd51a","html_url":"https://github.com/ipfans/defaults","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fdefaults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fdefaults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fdefaults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipfans%2Fdefaults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipfans","download_url":"https://codeload.github.com/ipfans/defaults/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245617217,"owners_count":20644777,"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-12-04T06:13:37.256Z","updated_at":"2025-03-26T08:26:34.967Z","avatar_url":"https://github.com/ipfans.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# defaults\n\nFill default values of struct.\n\n## How to Use\n\n```go\ntype V struct {\n\tI int `defaults:\"1\"`\n}\n\nfunc main() {\n\tvar v V\n\tdefaults.Default(\u0026v)\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fdefaults","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipfans%2Fdefaults","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipfans%2Fdefaults/lists"}