mirror of
https://github.com/onyx-and-iris/aoc2024.git
synced 2026-04-08 18:13:36 +00:00
make use of graph factory function.
move isLoop logic into guard clause.
This commit is contained in:
@@ -7,8 +7,8 @@ import (
|
||||
)
|
||||
|
||||
type graph struct {
|
||||
data []string
|
||||
startPoint point
|
||||
data []string
|
||||
}
|
||||
|
||||
func newGraph() *graph {
|
||||
|
||||
Reference in New Issue
Block a user