common

package
v0.0.0-...-e61498d Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: Unlicense Imports: 2 Imported by: 0

Documentation

Overview

Package common contains common code for Advent of Code solutions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close is called when the exercise is done.

Types

type BaseExercise

type BaseExercise struct{}

BaseExercise is the base struct for all exercises.

func (BaseExercise) One

func (c BaseExercise) One(instr string) (interface{}, error)

One is the first part of the exercise.

func (BaseExercise) Two

func (c BaseExercise) Two(instr string) (interface{}, error)

Two is the second part of the exercise.

func (BaseExercise) Vis

func (c BaseExercise) Vis(instr string, outdir string) error

Vis is the visualization of the exercise.

Jump to

Keyboard shortcuts

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