Allow to set verbosity of output (Closes #26)

This commit is contained in:
2025-01-28 21:02:12 +01:00
parent 2bdcdcb1dd
commit cced4f04b2
14 changed files with 89 additions and 33 deletions

View File

@ -1,5 +1,7 @@
package controller
import "gitea.ligthert.net/golang/sudoku-funpark/outputter"
// Simple interface to store values shared amongst packages.
type Controller struct {
// All possible blocks/rows available
@ -32,4 +34,8 @@ type Controller struct {
Part int
// Type of output requested
Output string
// Select printing method
Print string
// Outputter package
Outputter *outputter.Outputter
}