feat: no visitor pattern #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Currently we use the Visitor in various parts of the code. This is a hold-over from when I tried avoiding the Go-idiomatic way of handling types: a type-switch statement.
Acceptance Criteria
Remove all instances of the visitor patter. Replace with recursive functions.