]> Cypherpunks repositories - gostls13.git/commit
embed: simplify the code
authorapocelipes <seve3r@outlook.com>
Mon, 20 May 2024 11:13:36 +0000 (11:13 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 20 May 2024 19:42:51 +0000 (19:42 +0000)
commit183b6b49632d9b5d4655693907dfacf789bfea22
tree0dca9d4db4ecba568b13cadb577d9f87ffcec030
parentf6653e6b0b420ff60c52fe633968ce45cd63cec1
embed: simplify the code

Use stringslite and bytealg to simplify the code and to remove redundent
helper functions.

Change-Id: I665a8313d9b91201b147b255290058f162cf0894
GitHub-Last-Rev: e9e3bebdb477c301ec96e2b7425c20e6792d9765
GitHub-Pull-Request: golang/go#67515
Reviewed-on: https://go-review.googlesource.com/c/go/+/586715
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
src/embed/embed.go