{"id":22164636,"url":"https://github.com/failedcode/adventofcode-2024-go","last_synced_at":"2025-03-24T16:12:22.396Z","repository":{"id":265863032,"uuid":"892758370","full_name":"FailedCode/adventofcode-2024-go","owner":"FailedCode","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-22T20:16:43.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T21:34:31.664Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FailedCode.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":"2024-11-22T18:10:31.000Z","updated_at":"2024-12-22T20:16:46.000Z","dependencies_parsed_at":"2024-12-18T21:20:12.596Z","dependency_job_id":"489ef62f-4d5c-43d3-bf82-42c296dc534f","html_url":"https://github.com/FailedCode/adventofcode-2024-go","commit_stats":null,"previous_names":["failedcode/adventofcode-2024-go"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FailedCode%2Fadventofcode-2024-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FailedCode%2Fadventofcode-2024-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FailedCode%2Fadventofcode-2024-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FailedCode%2Fadventofcode-2024-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FailedCode","download_url":"https://codeload.github.com/FailedCode/adventofcode-2024-go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245304873,"owners_count":20593626,"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-12-02T05:09:03.550Z","updated_at":"2025-03-24T16:12:22.364Z","avatar_url":"https://github.com/FailedCode.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advent of Code 2024\nhttps://adventofcode.com/2024\n\nSolutions in [GO](https://go.dev/learn/)\n\n## How to run\n\n* Run the current day: `go run .`\n* Run a specific day: `go run . --day=\u003cday\u003e` e.g. `go run . --day=6`\n* Run a specific part: `go run . --part=\u003c1,2\u003e` e.g. `go run . --day=2 --part=2`\n* Run a different input: `go run . --source=\u003cname\u003e` e.g. `go run . --day=2 --part=2 --source=example`\n\n## GO learnings\n\n* There are no default values for function parameters\n* string to int conversion requieres explicit `strconv.Atoi`\n* `math.Abs` is only implemented for floats\n* The go compiler has no option to cool it with unused variables. You need to comment out all the code defining the variable, then comment out all the imports... or you define `func UNUSED(x ...interface{}) {}` and hand all variables you currently don't need to this do-nothing function. Great design, guys.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffailedcode%2Fadventofcode-2024-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffailedcode%2Fadventofcode-2024-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffailedcode%2Fadventofcode-2024-go/lists"}