common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package common contains the base struct for all exercises.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseExercise

type BaseExercise struct{}

BaseExercise is the base struct for all exercises.

func (BaseExercise) One

func (e BaseExercise) One(in string) (any, error)

One is the first part of the exercise.

func (BaseExercise) Two

func (e BaseExercise) Two(in string) (any, error)

Two is the second part of the exercise.

func (BaseExercise) Vis

func (e BaseExercise) Vis(in string, w *io.Writer) 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