commit | 3986e5c8e7df958cc1412ad06afc011022da76e1 | [log] [tgz] |
---|---|---|
author | kjgorman <kieran.j.gorman@gmail.com> | Sun Oct 10 14:30:26 2021 +0100 |
committer | Alexander Rakoczy <alex@golang.org> | Wed Oct 13 16:39:23 2021 +0000 |
tree | 8a3d810f17b3dc2dd1449ef6b2185d9161268ae5 | |
parent | 69041c79dc2767c220519cbcb9538c39fadec59c [diff] |
bytes: fix Cut godoc typo If sep does not appear in s, we return nil here rather than the empty string. Presumably the docs were copied from the strings package implementation and brought that along. Change-Id: I3706c94fe04abd9e2a2c8840f7cc6116386965c8 Reviewed-on: https://go-review.googlesource.com/c/go/+/354969 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Alexander Rakoczy <alex@golang.org>
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 3.0 Attributions 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://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/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://golang.org/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.