The Go Gopher






Getting started

Installing GoInstructions for downloading and installing Go.

Tutorial: Getting startedA brief Hello, World tutorial to get started. Learn a bit about Go code, tools, packages, and modules.

Tutorial: Create a moduleA tutorial of short topics introducing functions, error handling, arrays, maps, unit testing, and compiling.

Writing Web ApplicationsBuilding a simple web application.

How to write Go codeThis doc explains how to develop a simple set of Go packages inside a module, and it shows how to use the go command to build and test packages.

A Tour of GoAn interactive introduction to Go in three sections. The first section covers basic syntax and data structures; the second discusses methods and interfaces; and the third introduces Go’s concurrency primitives. Each section concludes with a few exercises so you can practice what you’ve learned. You can install it locally with:$ go get golang.org/x/tour This will place the tour binary in your workspace’s bin directory.

Using and understanding Go

Effective GoA document that gives tips for writing clear, idiomatic Go code. A must read for any new Go programmer. It augments the tour and the language specification, both of which should be read first.

Editor plugins and IDEsA document that summarizes commonly used editor plugins and IDEs with Go support.

DiagnosticsSummarizes tools and methodologies to diagnose problems in Go programs.

Managing dependenciesWhen your code uses external packages, those packages (distributed as modules) become dependencies.

Developing modules

Developing and publishing modules

You can collect related packages into modules, then publish the modules for other developers to use. This topic gives an overview of developing and publishing modules.

Module release and versioning workflow

When you develop modules for use by other developers, you can follow a workflow that helps ensure a reliable, consistent experience for developers using the module. This topic describes the high-level steps in that workflow.

Managing module source

When you’re developing modules to publish for others to use, you can help ensure that your modules are easier for other developers to use by following the repository conventions described in this topic.

Developing a major version update

A major version update can be very disruptive to your module’s users because it includes breaking changes and represents a new module. Learn more in this topic.

Publishing a module

When you want to make a module available for other developers, you publish it so that it’s visible to Go tools. Once you’ve published the module, developers importing its packages will be able to resolve a dependency on the module by running commands such as go get.

Module version numbering

A module’s developer uses each part of a module’s version number to signal the version’s stability and backward compatibility. For each new release, a module’s release version number specifically reflects the nature of the module’s changes since the preceding release.

Frequently Asked Questions (FAQ)Answers to common questions about Go.


Package DocumentationThe documentation for the Go standard library.

Command DocumentationThe documentation for the Go tools.

Language SpecificationThe official Go Language specification.

Go Modules ReferenceA detailed reference manual for Go’s dependency management system.

go.mod file reference

Reference for the directives included in a go.mod file.

The Go Memory ModelA document that specifies the conditions under which reads of a variable in one goroutine can be guaranteed to observe values produced by writes to the same variable in a different goroutine.

Release HistoryA summary of the changes between Go releases.

原创文章,转载请注明: 转载自并发编程网 – ifeve.com本文链接地址: 《Go开发指南》翻译邀请

  1. 1. Installing Go
    2. Managing Go installations
    3. Installing Go from source
    4. Setting up and using gccgo


  2. 先承接翻译《Getting started》章的《Tutorial: Getting started》节

  3. 《Tutorial: Getting started》已翻译完,继续申请《Tutorial: Create a module》和《Writing Web Applications》。

    • CodeNongXW
    • 2021/08/24 3:43下午


  1. 暂无 Trackback

return top