Skip to content

Commit 7ede3ee

Browse files
committed
Setup 2024 edition
1 parent 07abaad commit 7ede3ee

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

2024/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Advent of Code 2024
2+
3+
## Running challenges
4+
5+
From the root directory, run `go run main.go`.
6+
7+
## Running tests
8+
9+
### Running all tests
10+
11+
From the root directory, run `go test ./...`.
12+
13+
### Running tests for a single sub-module
14+
15+
From the root directory, run `go test ./<package name>`.

2024/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/pjaneiro/advent-of-code/2024
2+
3+
go 1.23

go.work

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
go 1.21.4
1+
go 1.23
2+
3+
toolchain go1.23.3
24

35
use (
46
./2018
57
./2019
68
./2020
79
./2022
810
./2023
11+
./2024
912
)

0 commit comments

Comments
 (0)