Closed mihilt closed 6 months ago
i couldn't use the "slices" package in golang even if it's a standard library. so i figured out why it happened.
it seems it's because the code editor only can choose the legacy version. if we can choose the latest version, then we can use that standard library.
reference: https://pkg.go.dev/slices
it seems this feature was published when it was Jun 16, 2023 (go1.21rc1)
Duplicate of #257
i couldn't use the "slices" package in golang even if it's a standard library. so i figured out why it happened.
it seems it's because the code editor only can choose the legacy version. if we can choose the latest version, then we can use that standard library.
reference: https://pkg.go.dev/slices
it seems this feature was published when it was Jun 16, 2023 (go1.21rc1)