Skip to content

feat: add (*Pages).Clear #1112

@ossenthusiast

Description

@ossenthusiast

Problem: there is no way to remove all of the pages in a single call, you have to manually iterate through the entire pages slice and remove each page.
Solution: sets the pages slice in the Pages struct to nil.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions