year2025

package
v0.0.0-...-202305b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package year2025 contains the day based solutions for the 2025 run of Advent of Code.

Index

Constants

View Source
const (
	PAPER    = "@"
	EMPTY    = "."
	REMOVING = "x"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Day int `help:"Day of the year to run."`
}

Cmd defines the current year as a command, with any arguments.

func (*Cmd) Run

func (c *Cmd) Run(ctx *shared.Context) error

Run will accept the context from the command and look to run the given day with it, returning an error from the execution.

type Range

type Range struct {
	Lower, Upper int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL