From c72bc6b0e59b8508e9aa6a916e442a0cba73fe00 Mon Sep 17 00:00:00 2001 From: Sacha Ligthert Date: Mon, 27 Jan 2025 18:41:15 +0100 Subject: [PATCH] Start of godoc comments. Closes #5 --- solver/solver.go | 1 + solver/types.go | 1 + 2 files changed, 2 insertions(+) diff --git a/solver/solver.go b/solver/solver.go index 262938b..b47f951 100644 --- a/solver/solver.go +++ b/solver/solver.go @@ -6,6 +6,7 @@ import ( "strconv" ) +// The main loop that orchastrates all the logic. func Run() { // Instantiate the Solver interface solver := Solver{} diff --git a/solver/types.go b/solver/types.go index 8f77d26..67334f2 100644 --- a/solver/types.go +++ b/solver/types.go @@ -4,6 +4,7 @@ import ( "sync/atomic" ) +// Struct/Interface containing all the important variabes it functions need access to. type Solver struct { blocks []int row1 string