{"id":16193548,"url":"https://github.com/domblack/advent-of-code-2023","last_synced_at":"2026-03-01T17:05:00.649Z","repository":{"id":210416493,"uuid":"726511729","full_name":"DomBlack/advent-of-code-2023","owner":"DomBlack","description":"My attempt of the Advent Of Code for 2023 in Go","archived":false,"fork":false,"pushed_at":"2024-06-26T19:37:22.000Z","size":14195,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T02:44:45.821Z","etag":null,"topics":["advent-of-code","advent-of-code-2023","advent-of-code-2023-go","adventofcode","adventofcode2023","aoc","aoc-2023","aoc-2023-in-go","aoc-in-go","go","golang"],"latest_commit_sha":null,"homepage":"https://adventofcode.com/2023","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/DomBlack.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-02T15:55:42.000Z","updated_at":"2023-12-13T23:00:55.000Z","dependencies_parsed_at":"2024-11-03T05:02:30.404Z","dependency_job_id":null,"html_url":"https://github.com/DomBlack/advent-of-code-2023","commit_stats":null,"previous_names":["domblack/advent-of-code-2023"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DomBlack/advent-of-code-2023","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DomBlack%2Fadvent-of-code-2023","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DomBlack%2Fadvent-of-code-2023/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DomBlack%2Fadvent-of-code-2023/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DomBlack%2Fadvent-of-code-2023/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DomBlack","download_url":"https://codeload.github.com/DomBlack/advent-of-code-2023/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DomBlack%2Fadvent-of-code-2023/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29976272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"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-2023","advent-of-code-2023-go","adventofcode","adventofcode2023","aoc","aoc-2023","aoc-2023-in-go","aoc-in-go","go","golang"],"created_at":"2024-10-10T08:15:23.036Z","updated_at":"2026-03-01T17:05:00.632Z","avatar_url":"https://github.com/DomBlack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code λ2023\n\nThis repository contains my solutions for the [Advent of Code 2023](https://adventofcode.com/2023), written in [Go](https://goland.org).\n\n## Project Structure\n\nThe project is structured in a way that each day of the Advent of Code challenge has its own package under the `internal`\ndirectory. For example, the solution for Day 10 can be found in [`internal/day10/day10.go`](internal/day10/day10.go).\n\nThe [`cmd/aoc2023`](cmd/aoc2023) package is the main entry point of the application.\nIt combines all the days into a single application.\n\nAll my personalised inputs are stored in the [`inputs`](inputs) directory, and each day has a corresponding text file\nin there. I've also included expected outputs for each day in the day's package using a call to `WithExpectedAnswers`,\nthis is to allow for regression testing after refactoring.\n\nThe `pkg` directory contains various packages that are used across the solutions.\n\n- [`pkg/runner`](pkg/runner) contains a generic runner for registering, running and testing the solutions for each day.\n  Every day uses this without fail. It will be at the top of each day's go file, and pretty much the only thing in the days\n  test file.\n- [`pkg/stream`](pkg/stream) contains various stream functors and sinks used across the solutions.\n- [`pkg/alogrithms`](pkg/algorithms) contains various common algorithms used across the solutions.\n- [`pkg/datastructures`](pkg/datastructures) contains various common data structures used across the solutions.\n\n## Running the Code\n\nTo run the code, you need to have Go installed on your system. You can download it from the [official Go website](https://golang.org/dl/).\n\nOnce you have Go installed, you can run the code for all days by navigating to the root directory of the project and running:\n\n```bash\ngo run ./cmd/aoc2023\n```\n\nIf you want to run the code for a specific day only, you can do so by providing the `--day` flag followed by the day number. For example, to run the code for Day 10, you would do:\n\n```bash\ngo run ./cmd/aoc2023 --day 10\n```\n\n## Contributing\n\nWhile this is primarily a personal project, contributions are welcome. If you see an issue or have a suggestion for improvement, feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [`LICENSE`](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomblack%2Fadvent-of-code-2023","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomblack%2Fadvent-of-code-2023","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomblack%2Fadvent-of-code-2023/lists"}