Skip to content

base: Update unsafe string usage #40

@jiping-s

Description

@jiping-s

See https://stackoverflow.com/a/73608099/3488757 and https://www.sobyte.net/post/2022-09/string-byte-convertion/

Since go 1.19, StringHeader/SliceHeader has been deprecated and their usage is the code should be updated accordingly.

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