{"id":25473798,"url":"https://github.com/qbart/risky","last_synced_at":"2025-11-05T09:30:33.708Z","repository":{"id":202696515,"uuid":"707936770","full_name":"qbart/risky","owner":"qbart","description":"Go library that favors defaults over errors when parsing input.","archived":false,"fork":false,"pushed_at":"2025-02-08T20:04:13.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T21:19:19.391Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qbart.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":"2023-10-21T03:07:36.000Z","updated_at":"2025-02-08T20:04:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"69dae6a1-9423-47f0-99bb-40cd8cb7d195","html_url":"https://github.com/qbart/risky","commit_stats":null,"previous_names":["softkiwigames/risky","qbart/risky"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbart%2Frisky","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbart%2Frisky/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbart%2Frisky/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbart%2Frisky/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbart","download_url":"https://codeload.github.com/qbart/risky/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239453914,"owners_count":19641450,"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":"2025-02-18T10:37:43.567Z","updated_at":"2025-02-18T10:37:44.176Z","avatar_url":"https://github.com/qbart.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# risky go library\n\nRisky parses strings into corresponding types but ignores errors and default or zero values are returned instead.\n\nBit unsafe but gives values when you need them or you can trust the input.\n\n## Usage\n\n```go\ntype Animal struct {\n    Name string\n}\n\nrisky.JSON[Animal](`{\"name\":\"kiwi\"}`) // returns an instance of struct{Name: \"kiwi\"}\nrisky.JSON[Animal](`abc`) // returns zero value of struct{Name: \"\"}\nrisky.ParseInt(\"123\") // returns 123\nrisky.ParseInt(\"invalid\") // returns 0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbart%2Frisky","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbart%2Frisky","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbart%2Frisky/lists"}