Drawn the skeleton code for the structure of the project
This commit is contained in:
11
io/writer/image.go
Normal file
11
io/writer/image.go
Normal file
@ -0,0 +1,11 @@
|
||||
package writer
|
||||
|
||||
import (
|
||||
"maze-solver/maze"
|
||||
)
|
||||
|
||||
type ImageWriter struct{}
|
||||
|
||||
func (w *ImageWriter) Write(filename string, maze *maze.SolvedMaze) error {
|
||||
return nil
|
||||
}
|
7
io/writer/writer.go
Normal file
7
io/writer/writer.go
Normal file
@ -0,0 +1,7 @@
|
||||
package writer
|
||||
|
||||
import "maze-solver/maze"
|
||||
|
||||
type Writer interface {
|
||||
Write(filename string, maze *maze.SolvedMaze) error
|
||||
}
|
Reference in New Issue
Block a user