]> Cypherpunks repositories - gostls13.git/commit
archive/zip,cmd/compile: simplify the split function
authorapocelipes <seve3r@outlook.com>
Fri, 2 Aug 2024 11:33:30 +0000 (11:33 +0000)
committerGopher Robot <gobot@golang.org>
Sat, 3 Aug 2024 01:05:29 +0000 (01:05 +0000)
commit9cfe3a86d34f7f4a401dae9a22389b12f7e8bb2e
treeee37929c8da7d97a57085a86eb3838e8dd9e9449
parentc61ff290dbfa6dab4928c0b273db18fddb10df37
archive/zip,cmd/compile: simplify the split function

Use strings to simplify the code.

This is a follow-up for the CL 586715.

Change-Id: I9e5470ec271e8af1ad4ddbb5f01f43a8a4879557
GitHub-Last-Rev: b95d6179781053ea8ec9fc8ad2e18607fd35c5bb
GitHub-Pull-Request: golang/go#68713
Reviewed-on: https://go-review.googlesource.com/c/go/+/602697
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/archive/zip/reader.go
src/cmd/compile/internal/staticdata/embed.go