package executors import ( "context" "fmt" "codeflow.dananglin.me.uk/apollo/gator/internal/state" ) func reset(s *state.State, _ executor) error { if err := s.DB.DeleteAllUsers(context.Background()); err != nil { fmt.Errorf("unable to delete the users from the database: %w", err) } fmt.Println("Successfully removed all users from the database.") return nil }