{"id":20543578,"url":"https://github.com/bavix/features","last_synced_at":"2025-03-06T04:44:42.455Z","repository":{"id":232019985,"uuid":"783265781","full_name":"bavix/features","owner":"bavix","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-07T15:45:37.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-21T07:25:57.420Z","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/bavix.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","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":"2024-04-07T12:10:15.000Z","updated_at":"2024-05-07T15:45:35.000Z","dependencies_parsed_at":"2024-04-07T13:27:53.342Z","dependency_job_id":"03d0e9eb-be94-4ce7-a02e-903d94ef5b88","html_url":"https://github.com/bavix/features","commit_stats":{"total_commits":11,"total_committers":4,"mean_commits":2.75,"dds":0.6363636363636364,"last_synced_commit":"d2d61f769bc44286299a7c77aa1793bef349ea7f"},"previous_names":["bavix/features"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Ffeatures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Ffeatures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Ffeatures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bavix%2Ffeatures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bavix","download_url":"https://codeload.github.com/bavix/features/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242150747,"owners_count":20080006,"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-11-16T01:38:54.417Z","updated_at":"2025-03-06T04:44:42.375Z","avatar_url":"https://github.com/bavix.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# features\n\nSimple implementation of the flags feature.\n\n### Usage\n\n```golang\nimport \"github.com/bavix/features\"\n\nconst (\n    Dishing features.Flag = iota\n    Washing\n    Cooking\n    Driving\n)\n//...\ntoggles := features.New(Dishing, Washing, Cooking)\n\ntoggles.Has(Cooking) // true\ntoggles.Has(Driving) // false\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Ffeatures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbavix%2Ffeatures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbavix%2Ffeatures/lists"}