Skip to content

Skeleton repository for Advent of Code challenges

Notifications You must be signed in to change notification settings

viniciusfabri/advent-of-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aoc-skeleton

This repository serves as a skeleton for creating new Advent of Code (AoC) projects. You can use this template to quickly set up a new repository for solving AoC challenges.

Getting Started

  1. Clone the repository:

    git clone https://github.com/igorwulff/aoc-skeleton.git
    cd aoc-skeleton
  2. Change the module name: Update the go.mod file with your new module name.

    module github.com/yourusername/your-new-repo
  3. Install dependencies:

    go mod tidy
  4. Run the application:

    go run main.go

Project Structure

  • main.go: Entry point of the application.
  • Copy 2024/template folder to 2024/day{number}
  • 2024/day1/part1.go: Solution for Day 1, Part 1.
  • 2024/day1/part1_test.go: Tests for Day 1, Part 1.
  • 2024/day1/input.txt: Input data for Day 1.

Testing

It is advised to add the sample input and output provided by Advent of Code to a test case for each day and part as a minimal.

Contributing

Feel free to open issues or submit pull requests if you find any bugs or have suggestions for improvements.

License

This project is licensed under the MIT License.

About

Skeleton repository for Advent of Code challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%