{"id":21962701,"url":"https://github.com/icio/flagsubstr","last_synced_at":"2025-03-22T20:44:45.076Z","repository":{"id":243196795,"uuid":"811747694","full_name":"icio/flagsubstr","owner":"icio","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-07T08:22:01.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T00:42:55.775Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icio.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":"2024-06-07T08:12:25.000Z","updated_at":"2024-06-07T08:22:04.000Z","dependencies_parsed_at":"2024-06-07T09:59:32.121Z","dependency_job_id":null,"html_url":"https://github.com/icio/flagsubstr","commit_stats":null,"previous_names":["icio/flagsubstr"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icio%2Fflagsubstr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icio%2Fflagsubstr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icio%2Fflagsubstr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icio%2Fflagsubstr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icio","download_url":"https://codeload.github.com/icio/flagsubstr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020314,"owners_count":20548156,"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-29T10:53:33.407Z","updated_at":"2025-03-22T20:44:45.040Z","avatar_url":"https://github.com/icio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flagsubstr\n\nConcatenate the emoji flags for countries AB and CD and the 4:12-byte substring\nis the emoji flag for country BC:\n\n```go\n// GOEXPERIMENT=rangefunc go run github.com/icio/flagsubstr@latest | head\n\"🇦🇨🇦🇨\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AC: Ascension Island == CA: Canada\n\"🇦🇨🇦🇩\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AD: Andorra == CA: Canada\n\"🇦🇨🇦🇪\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AE: United Arab Emirates == CA: Canada\n\"🇦🇨🇦🇫\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AF: Afghanistan == CA: Canada\n\"🇦🇨🇦🇬\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AG: Antigua \u0026 Barbuda == CA: Canada\n\"🇦🇨🇦🇮\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AI: Anguilla == CA: Canada\n\"🇦🇨🇦🇱\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AL: Albania == CA: Canada\n\"🇦🇨🇦🇲\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AM: Armenia == CA: Canada\n\"🇦🇨🇦🇴\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AO: Angola == CA: Canada\n\"🇦🇨🇦🇶\"[4:12] == \"🇨🇦\" // AC: Ascension Island + AQ: Antarctica == CA: Canada\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficio%2Fflagsubstr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficio%2Fflagsubstr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficio%2Fflagsubstr/lists"}