commit | 7d48573d468fdbd4ff77c5b0aee5386a2f6967ad | [log] [tgz] |
---|---|---|
author | Didier Spezia <didier.06@gmail.com> | Sun Aug 23 12:14:54 2015 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Thu Sep 10 21:47:41 2015 +0000 |
tree | dfcf39e963ed0e182efdd41be24a77c24da9b00c | |
parent | 63ee321059478e5744dc9c21946e764abc3c0eb3 [diff] |
cmd/internal/obj: map/slice literals janitoring Simplify slice/map literal expressions. Caught with gofmt -d -s, fixed with gofmt -w -s Checked that the result can still be compiled with Go 1.4. Change-Id: I0a6773d12200a7b43491f25f914335069a1fa5e8 Reviewed-on: https://go-review.googlesource.com/13833 Reviewed-by: Andrew Gerrand <adg@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
For documentation about how to install and use Go, visit https://golang.org/ or load doc/install-source.html in your web browser.
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.
Please report issues here: https://golang.org/issue/new
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
If you have just untarred a binary Go distribution, you need to set the environment variable $GOROOT to the full path of the go directory (the one containing this file). You can omit the variable if you unpack it into /usr/local/go, or if you rebuild from sources by running all.bash (see doc/install-source.html). You should also add the Go binary directory $GOROOT/bin to your shell's path.
For example, if you extracted the tar file into $HOME/go, you might put the following in your .profile:
export GOROOT=$HOME/go export PATH=$PATH:$GOROOT/bin
See https://golang.org/doc/install or doc/install.html for more details.