{"id":18756862,"url":"https://github.com/code-shoily/aocgo","last_synced_at":"2026-02-13T09:53:18.417Z","repository":{"id":76051027,"uuid":"583197549","full_name":"code-shoily/aocgo","owner":"code-shoily","description":"Advent of Code problems solved with Go","archived":false,"fork":false,"pushed_at":"2025-08-05T05:30:50.000Z","size":672,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-05T06:29:00.170Z","etag":null,"topics":["advent-of-code","advent-of-code-","advent-of-code-2015","advent-of-code-2016","advent-of-code-2017","advent-of-code-2018","advent-of-code-2019","advent-of-code-2020","advent-of-code-2021","algorithms-and-data-structures","golang"],"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/code-shoily.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,"zenodo":null}},"created_at":"2022-12-29T03:49:53.000Z","updated_at":"2025-08-05T05:30:53.000Z","dependencies_parsed_at":"2024-01-21T06:19:36.468Z","dependency_job_id":"5e0fc0fd-123f-4918-80c5-ff3a335b6d42","html_url":"https://github.com/code-shoily/aocgo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code-shoily/aocgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Faocgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Faocgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Faocgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Faocgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-shoily","download_url":"https://codeload.github.com/code-shoily/aocgo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Faocgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29400626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["advent-of-code","advent-of-code-","advent-of-code-2015","advent-of-code-2016","advent-of-code-2017","advent-of-code-2018","advent-of-code-2019","advent-of-code-2020","advent-of-code-2021","algorithms-and-data-structures","golang"],"created_at":"2024-11-07T17:38:24.105Z","updated_at":"2026-02-13T09:53:18.409Z","avatar_url":"https://github.com/code-shoily.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aocgo - Advent of Code solutions in Go\n\n## What is Advent of Code?\n\n[This](https://adventofcode.com). Every year since 2015, starting December 1 to 25, 25 small programming problems are presented on http://adventofcode.com. The challenges are fun to solve in programming language of your choice. I mostly solved those with [Elixir in the past](https://github.com/code-shoily/advent_of_code), but am looking forward to play with Golang in future challenges. And as I am trying really learn Go, I felt like I should backfill the old challenges throughout 2023. \n\nMore about Advent of Code here: [https://adventofcode.com/2022/about](https://adventofcode.com/2022/about).\n\n## How do I run these?\n* To create stubs for solving for instance, 2022/1, run: `go run main.go gen 2022 1` (also `g` instead of `gen`)\n* To run solution for the same, run: `go run main.go solve 2022 1` (also `run`, `r` or `s` instead of `solve`)\n\nNote: The additional commands (i.e. `run`, `g` etc) are there because when I am rapidly testing solutions, I have often typed those and failed. So totally for my convenience that one.\n\nNote, empty `input.txt` is create after `gen` (or `g`) command for now. You will need to copy/paste the input data to the file.\n\n## FAQ\n\n**What version of Go do I need to use for these?**\n\nI am using `embed` and `generics` to solve problems. So at least go `1.18` is needed to run these. \n\n## Progress - 161 of 500\n\n| Day | [2015](year15) | [2016](year16) | [2017](year17) | [2018](year18) | [2019](year19) | [2020](year20) | [2021](year21) | [2022](year22) | [2023](year23) | [2024](year24)\n|:---:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:| :-: | :-: |\n| :star: | 37 | 26 | 15 | 11 | 12 | 18 | 19 | 15 | 2 | 4 |\n|1| :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal:| :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: |\n|2| :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | | :1st_place_medal: |\n|3| :1st_place_medal: | :1st_place_medal: | | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | | |\n|4| :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | | |\n|5| :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | | |\n|6| :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | :1st_place_medal: | | |\n|7| :1st_place_medal: | :1st_place_medal: | | :2nd_place_medal: | | :1st_place_medal: |  :1st_place_medal: | :1st_place_medal: | | |\n|8| :1st_place_medal: | | :1st_place_medal: | | | :1st_place_medal: | | | | |\n|9| :1st_place_medal: | | :1st_place_medal: | | | :1st_place_medal: | | | | |\n|10| :1st_place_medal: | | | | | | :1st_place_medal: | | | |\n|11| :1st_place_medal: | | | | | | :1st_place_medal: | | | |\n|12| :1st_place_medal: | :1st_place_medal: | | | | | | :1st_place_medal: | | |\n|13| :1st_place_medal: | :1st_place_medal: | | | | | | | | |\n|14| :1st_place_medal: | | | | | | | | | |\n|15| :1st_place_medal: | | | | | | | | | |\n|16| | :1st_place_medal: | | | | | | | | |\n|17| :1st_place_medal: | | | | | | | | | |\n|18| | | | | | | | | | |\n|19| | | | | | | | | | |\n|20| :1st_place_medal: | :1st_place_medal: | | | | | | | | |\n|21| | :1st_place_medal: | | | | | | | | |\n|22| | | | | | | | | | |\n|23| | :2nd_place_medal: | | | | | | | | |\n|24| :1st_place_medal: | | | | | | | | | |\n|25| :2nd_place_medal: | :2nd_place_medal: | :2nd_place_medal: | | | | :2nd_place_medal: | :2nd_place_medal: | | |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-shoily%2Faocgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-shoily%2Faocgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-shoily%2Faocgo/lists"}