Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/failedcode/adventofcode-2024-go
https://github.com/failedcode/adventofcode-2024-go
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/failedcode/adventofcode-2024-go
- Owner: FailedCode
- License: unlicense
- Created: 2024-11-22T18:10:31.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-01T08:18:27.000Z (22 days ago)
- Last Synced: 2024-12-01T09:25:01.975Z (22 days ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2024
https://adventofcode.com/2024Solutions in [GO](https://go.dev/learn/)
## How to run
* Run the current day: `go run .`
* Run a specific day: `go run . --day=` e.g. `go run . --day=6`## GO learnings
* There are no default values for function parameters
* string to int conversion requieres explicit `strconv.Atoi`
* `math.Abs` is only implemented for floats