commit | 2bffb8b3fb2d9137ccfa87fc35137371b86a2e96 | [log] [tgz] |
---|---|---|
author | Jorropo <[email protected]> | Wed Jul 17 14:15:32 2024 +0200 |
committer | Gopher Robot <[email protected]> | Sun Sep 29 05:04:42 2024 +0000 |
tree | cee4b43bad8c21f567a4c377482eb38267e2f24c | |
parent | eb6f2c24cd17c0ca1df7e343f8d9187eef7d6e13 [diff] |
slices: prevent Clone keeping alive the array when cloning empty slices Fixes #68488 Change-Id: I39aba22cdfe8ca0bbe69db7c64f1bca75fa067fa Reviewed-on: https://go-review.googlesource.com/c/go/+/598875 Reviewed-by: Keith Randall <[email protected]> Commit-Queue: Ian Lance Taylor <[email protected]> Reviewed-by: Keith Randall <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attribution license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.