Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isur/advent-of-code-2024
Advent of code 2024 in go
https://github.com/isur/advent-of-code-2024
advent-of-code advent-of-code-2024 go golang
Last synced: 6 days ago
JSON representation
Advent of code 2024 in go
- Host: GitHub
- URL: https://github.com/isur/advent-of-code-2024
- Owner: Isur
- Created: 2024-12-03T19:47:53.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-12T12:11:21.000Z (about 2 months ago)
- Last Synced: 2024-12-12T13:22:40.889Z (about 2 months ago)
- Topics: advent-of-code, advent-of-code-2024, go, golang
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Advent of Code
My solutions to the [Advent of Code](https://adventofcode.com).
I am using go.
# Progress
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:white_check_mark:
:black_large_square:
:black_large_square:
:black_large_square:
:black_large_square:
:black_large_square:
:black_large_square:
:black_large_square:
:black_large_square:
:black_large_square:
:black_large_square:- :black_large_square: - not done
- :black_square_button: - one star
- :white_check_mark: - two stars# Run
Firstly for day you want to run create files `example` and `input`.
Example:
```bash
.
├── cmd
│ └── main.go
├── days
│ ├── Day01
│ │ ├── example
│ │ ├── input
│ │ └── run.go
│ ├── Day02
│ │ ├── example
│ │ ├── input
│ │ └── run.go
│ ├── Day03
│ │ ├── example
│ │ ├── input
│ │ └── run.go
```Then to run:
```bash
go run ./cmd/main.go [day] [mode]
```Where day is day you want to run and mode is `true` or `false` where `true` will use `input` and `false` will use `example` file.
By default it will run `example`.
Examples:
```bash
go run ./cmd/main.go 01 true
go run ./cmd/main.go 02
```