{"id":42842899,"url":"https://github.com/tomaspavlic/enumall","last_synced_at":"2026-01-30T11:53:39.650Z","repository":{"id":42227580,"uuid":"510657664","full_name":"tomaspavlic/enumall","owner":"tomaspavlic","description":"Enumall is a tool to automate the creation of all const values for given type (enum)","archived":false,"fork":false,"pushed_at":"2022-07-05T09:21:08.000Z","size":5,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T22:35:25.509Z","etag":null,"topics":["all","codegenerator","enum","go","golang"],"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/tomaspavlic.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":"2022-07-05T08:51:11.000Z","updated_at":"2024-01-25T07:05:11.000Z","dependencies_parsed_at":"2022-09-05T14:11:21.710Z","dependency_job_id":null,"html_url":"https://github.com/tomaspavlic/enumall","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tomaspavlic/enumall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaspavlic%2Fenumall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaspavlic%2Fenumall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaspavlic%2Fenumall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaspavlic%2Fenumall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomaspavlic","download_url":"https://codeload.github.com/tomaspavlic/enumall/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomaspavlic%2Fenumall/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28912122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T08:15:08.179Z","status":"ssl_error","status_checked_at":"2026-01-30T08:14:31.507Z","response_time":66,"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":["all","codegenerator","enum","go","golang"],"created_at":"2026-01-30T11:53:38.924Z","updated_at":"2026-01-30T11:53:39.645Z","avatar_url":"https://github.com/tomaspavlic.png","language":"Go","readme":"# Enumall\n[![Go](https://github.com/tomaspavlic/enumall/actions/workflows/go.yml/badge.svg)](https://github.com/tomaspavlic/enumall/actions/workflows/go.yml)\n\nEnumall is a tool to automate the creation of all const values for given type (enum). \n\n## Installation\n\n`enumall` is installable command line application.\n\n```\ngo install github.com/tomaspavlic/enumall\n```\n\n## Usage\n\nAdd Go's code generator comment to use `enumall`.\n\n```golang\n//go:generate go run github.com/tomaspavlic/enumall@latest -type=Season\n\ntype Season uint8\n\nconst (\n    Spring Season = 1 \u003c\u003c iota\n    Summer\n    Autumn\n    Winter\n)\n```\n\nRun code generator inside your module.\n```\ngo generate ./...\n```\n\nGenerated code is named `{$typeName}_all.go`. Variable containing all const values is `All{$typeName}`\n\n```golang\n// Code generated by \"enumall -type=Season\"; DO NOT EDIT.\n\npackage main\n\nvar AllSeason = []Season{\n\tSpring,\n\tSummer,\n\tAutumn,\n\tWinter,\n}\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomaspavlic%2Fenumall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomaspavlic%2Fenumall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomaspavlic%2Fenumall/lists"}