{"id":24367104,"url":"https://github.com/webermarci/validator","last_synced_at":"2026-05-26T08:34:16.474Z","repository":{"id":61629315,"uuid":"552833556","full_name":"webermarci/validator","owner":"webermarci","description":"It's a simple string validator","archived":false,"fork":false,"pushed_at":"2024-09-23T15:15:52.000Z","size":11,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-19T01:13:19.944Z","etag":null,"topics":["go","golang","string-validation","stringvalidator"],"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/webermarci.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":"2022-10-17T09:50:11.000Z","updated_at":"2024-09-23T15:15:24.000Z","dependencies_parsed_at":"2024-04-12T21:40:02.528Z","dependency_job_id":"faf0e055-f19f-4eb0-b381-9b8f3e93ec9f","html_url":"https://github.com/webermarci/validator","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fvalidator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fvalidator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fvalidator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webermarci%2Fvalidator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webermarci","download_url":"https://codeload.github.com/webermarci/validator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243196654,"owners_count":20251861,"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":["go","golang","string-validation","stringvalidator"],"created_at":"2025-01-19T01:13:49.536Z","updated_at":"2025-12-24T08:38:59.800Z","avatar_url":"https://github.com/webermarci.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Validator\n\n## Usage\n\n```go\nimport \"github.com/webermarci/validator\"\n\nv := validator.NewValidator().StartsWith(\"123\")\n\nresult := v.Validate(\"abc123\")\n\nfmt.Println(result.Approval)\n// False\n\nfmt.Println(result.RuleType)\n// startsWith\n\nfmt.Println(result.Reason)\n// \"starts with 123\" is not met by \"abc123\"\n\nresult = v.Validate(\"123abc\")\n\nfmt.Println(result.Approval)\n// True\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebermarci%2Fvalidator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebermarci%2Fvalidator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebermarci%2Fvalidator/lists"}