Skip to content

alkurbatov/adventofcode

Repository files navigation

Table of Contents

adventofcode

Solutions to Advent of Code puzzles.

Development

Setup dev environment

  1. Install gofumpt for improved code formatting.
  2. Install golangci-lint for code linting.
  3. Install pre-commit to run linters before commit.

Prepare to work with the project

  1. Install pre-commit hooks by running:
    pre-commit install

Run solutions from sources

  1. Get your puzzle input and put it into folder of particular solution, e.g. 2023/1/input.txt.

  2. Run the solution:

    go run 2023/1/main.go

Other commands

To get full list of available commands run:

make help

License

Copyright (c) 2023 Alexander Kurbatov

Licensed under the GPLv3.