Skip to content

refactor: deprecate str package and move to stdlib #354

@kruskall

Description

@kruskall

Problem Description

The standard library now includes dedicated maps and slices packages, which provide the functionality currently covered by the custom str, strset, and ToSlice utilities.

Impact

Maintaining these custom packages duplicates functionality that is already available in the Go standard library. This adds unnecessary code bloat, creates extra maintenance work, and can lead to inconsistencies between the custom implementations and the officially supported ones.

Suggested Solution

Deprecate the str, strset, and ToSlice package. Update the codebase to use the corresponding functions from the standard library’s maps and slices packages instead, and remove the now‑redundant custom implementations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions