1
0
mirror of https://github.com/golang/go synced 2024-11-27 05:21:22 -07:00
The Go programming language
Go to file
Russ Cox 14e3c7338d [release-branch.go1.20] cmd/api: rename api.go to main_test.go
This makes cmd/api no longer an importable package.
In CL 453258 I forgot that there was no direct prohibition
on importing packages from cmd - we just rely on the
fact that cmd/* is all package main and everything else
is cmd/internal.

Fixes #62069.
Fixes #62070.

Change-Id: Ifed738d333b40663f85eca8f83025fcea5df89a9
Reviewed-on: https://go-review.googlesource.com/c/go/+/520038
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-on: https://go-review.googlesource.com/c/go/+/520060
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
2023-08-17 20:58:04 +00:00
.github .github: suggest using private browsing in pkgsite template 2023-01-03 18:52:47 +00:00
api api: promote next to go1.20 2022-12-07 16:56:12 +00:00
doc [release-branch.go1.20] time: revert strict parsing of RFC 3339 2023-01-18 20:42:20 +00:00
lib/time lib/time: update to 2022g/2022g 2022-12-07 00:25:27 +00:00
misc [release-branch.go1.20] cmd/compile: re-compile instantiated generic methods in linkshared mode 2023-03-29 18:40:30 +00:00
src [release-branch.go1.20] cmd/api: rename api.go to main_test.go 2023-08-17 20:58:04 +00:00
test [release-branch.go1.20] cmd/compile: on PPC64, fix sign/zero extension when masking 2023-07-19 19:10:08 +00:00
.gitattributes
.gitignore
codereview.cfg [release-branch.go1.20] update codereview.cfg for release-branch.go1.20 2022-12-07 18:00:33 +00:00
CONTRIBUTING.md
LICENSE
PATENTS
README.md
SECURITY.md
VERSION [release-branch.go1.20] go1.20.7 2023-08-01 19:34:15 +00:00

The Go Programming Language

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

Gopher image Gopher image by Renee French, licensed under Creative Commons 4.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.

Download and Install

Binary Distributions

Official binary distributions are available at https://go.dev/dl/.

After downloading a binary release, visit https://go.dev/doc/install for installation instructions.

Install From Source

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.

Contributing

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.