Skip to content

Commit e0779a9

Browse files
committed
refactor: standardize project naming to aoc-<lang>-<year> and clean up imports
1 parent 6d5944b commit e0779a9

45 files changed

Lines changed: 105 additions & 105 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

golang/2017/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module github.com/markkovari/advent_of_code/2017
1+
module github.com/markkovari/advent_of_code/golang/2017
22

33
go 1.22
44

5-
require github.com/markkovari/advent_of_code/aoc-go-common v0.0.0-00010101000000-000000000000
5+
require github.com/markkovari/advent_of_code/golang/common v0.0.0-00010101000000-000000000000
66

7-
replace github.com/markkovari/advent_of_code/aoc-go-common => ../common
7+
replace github.com/markkovari/advent_of_code/golang/common => ../common

golang/2017/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"strconv"
77

8-
"github.com/markkovari/advent_of_code/aoc-go-common"
8+
"github.com/markkovari/advent_of_code/common"
99
)
1010

1111
func main() {

golang/2019/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module github.com/markkovari/advent_of_code/2019
1+
module github.com/markkovari/advent_of_code/golang/2019
22

33
go 1.22
44

5-
replace github.com/markkovari/advent_of_code/aoc-go-common => ../common
5+
replace github.com/markkovari/advent_of_code/golang/common => ../common
66

7-
require github.com/markkovari/advent_of_code/aoc-go-common v0.0.0-00010101000000-000000000000
7+
require github.com/markkovari/advent_of_code/golang/common v0.0.0-00010101000000-000000000000

golang/2019/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"strconv"
77

8-
"github.com/markkovari/advent_of_code/aoc-go-common"
8+
"github.com/markkovari/advent_of_code/common"
99
)
1010

1111
func main() {

golang/2020/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/markkovari/advent_of_code/2020/02
1+
module github.com/markkovari/advent_of_code/golang/2020
22

33
go 1.15

golang/2024/go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
module github.com/markkovari/advent_of_code/2024
1+
module github.com/markkovari/advent_of_code/golang/2024
22

33
go 1.22
44

5-
replace github.com/markkovari/advent_of_code/aoc-go-common => ../common
5+
replace github.com/markkovari/advent_of_code/golang/common => ../common
66

7-
require github.com/markkovari/advent_of_code/aoc-go-common v0.0.0-00010101000000-000000000000
7+
require github.com/markkovari/advent_of_code/golang/common v0.0.0-00010101000000-000000000000

golang/2024/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"os"
66
"strconv"
77

8-
"github.com/markkovari/advent_of_code/aoc-go-common"
8+
"github.com/markkovari/advent_of_code/common"
99
)
1010

1111
func main() {

golang/common/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/markkovari/advent_of_code/aoc-go-common
1+
module github.com/markkovari/advent_of_code/golang/common
22

33
go 1.22

rust/2015/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "aoc_2015"
2+
name = "aoc-rust-2015"
33
version = "0.1.0"
44
edition = "2021"
55

@@ -8,7 +8,7 @@ edition = "2021"
88
[dependencies]
99
anyhow = "1.0"
1010

11-
aoc-rust-common = { path = "../common" }
11+
aoc-common = { path = "../common" }
1212
iter_tools = "0.1.4"
1313
lazy_static = "1.4.0"
1414
md5 = "0.7.0"

rust/2018/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
2-
name = "aoc"
2+
name = "aoc-rust-2018"
33
version = "0.1.0"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
aoc-rust-common = { path = "../common" }
9+
aoc-common = { path = "../common" }
1010
anyhow = "1.0.75"
1111
chrono = "0.4.26"
1212
failure = "0.1.8"

0 commit comments

Comments
 (0)