Skip to content

Commit

Permalink
remove unused rust folder
Browse files Browse the repository at this point in the history
  • Loading branch information
qselle committed Nov 28, 2024
1 parent 3cfbbd9 commit 83e7d08
Show file tree
Hide file tree
Showing 38 changed files with 36 additions and 41 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: ./go
- name: Build
working-directory: ./go
run: go build -v ./...
- name: Test
working-directory: ./go
run: go test -v ./...
- name: Benchmark
working-directory: ./go
run: go test -bench=Benchmark -benchmem -v ./...
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"qselle"
]
}
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@


[![Go](https://github.com/quentinselle/advent-of-code-2023/actions/workflows/go.yml/badge.svg)](https://github.com/quentinselle/advent-of-code-2023/actions/workflows/go.yml) [![wakatime](https://wakatime.com/badge/github/quentinselle/advent-of-code-2023.svg)](https://wakatime.com/badge/github/quentinselle/advent-of-code-2023)
[![Go](https://github.com/qselle/advent-of-code-2023/actions/workflows/go.yml/badge.svg)](https://github.com/qselle/advent-of-code-2023/actions/workflows/go.yml) [![wakatime](https://wakatime.com/badge/github/qselle/advent-of-code-2023.svg)](https://wakatime.com/badge/github/qselle/advent-of-code-2023)
# Advent of code 2023 🎄🎅

Enter the competition: https://adventofcode.com/2023

## Build

```console
advent-of-code-2023/day1 $> go build
advent-of-code-2023/day1 $> ./day1
Part 1: 52974
Part 2: 53340
```

## Test

```console
advent-of-code-2023/day1 $> go test
PASS
ok github.com/qselle/aoc/2023/day1 0.269s
```
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day1/main.go → day1/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"unicode"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

var (
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day10/main.go → day10/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

const (
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day2/main.go → day2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"
"strings"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type Set struct {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day3/main.go → day3/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"unicode"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type Coordinates struct {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day4/main.go → day4/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"slices"
"strings"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type ScratchCard struct {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day5/main.go → day5/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type Rule struct {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day6/main.go → day6/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type Race struct {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day7/main.go → day7/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type Type int
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day8/main.go → day8/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type Node struct {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion go/day9/main.go → day9/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"slices"

"github.com/quentinselle/aoc/2023/go/utils"
"github.com/qselle/advent-of-code-2023/utils"
)

type Sequence []int
Expand Down
File renamed without changes.
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/qselle/advent-of-code-2023

go 1.23.3
18 changes: 0 additions & 18 deletions go/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions go/go.mod

This file was deleted.

3 changes: 0 additions & 3 deletions rust/README.md

This file was deleted.

File renamed without changes.

0 comments on commit 83e7d08

Please sign in to comment.