Make godoc happy, and add extra comments.
This commit is contained in:
@ -5,6 +5,7 @@ import (
|
||||
"log"
|
||||
)
|
||||
|
||||
// Print solutions into a human friendly format for in the console.
|
||||
func (export *Export) PrintSolutions() {
|
||||
for solutionIndex, solution := range export.Controller.Solutions {
|
||||
log.Printf("\nSolution #%d:", solutionIndex+1)
|
||||
|
@ -2,6 +2,7 @@ package export
|
||||
|
||||
import "gitea.ligthert.net/golang/sudoku-funpark/controller"
|
||||
|
||||
// A simple inteface to export found solutions in different formats.
|
||||
type Export struct {
|
||||
Controller *controller.Controller
|
||||
}
|
||||
|
Reference in New Issue
Block a user