网页 综合 更新时间 2026-11-13 17:00:42

Documentation - The Go Programming Language

自动蜘蛛 go.dev 正文约 3512 字
Common problems companies solve with Go
Stories about how and why companies use Go
How Go can help keep you secure by default
The official Go language specification
A complete introduction to building software with Go
Reference documentation for Go's standard library
Learn what's new in each Go release
Tips for writing clear, performant, and idiomatic Go code
Videos from prior events
Meet other local Go developers
Learn and network with Go developers from around the world
The Go project's official blog.
Get help and stay informed from Go
The Go programming language is an open source project to make programmers more productive.
Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
Instructions for downloading and installing Go.
A brief Hello, World tutorial to get started. Learn a bit about Go code, tools, packages, and modules.
A tutorial of short topics introducing functions, error handling, arrays, maps, unit testing, and compiling.
Introduces the basics of creating and using multi-module workspaces in Go. Multi-module workspaces are useful for making changes across multiple modules.
Introduces the basics of writing a RESTful web service API with Go and the Gin Web Framework.
With generics, you can declare and use functions or types that are written to work with any of a set of types provided by calling code.
Fuzzing can generate inputs to your tests that can catch edge cases and security issues that you may have missed.
Building a simple web application.
This 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.
An interactive introduction to Go in four sections. The first section covers basic syntax and data structures; the second discusses methods and interfaces; the third is about Generics; and the fourth introduces Go's concurrency primitives. Each section concludes with a few exercises so you can practice what you've learned. You can take the tour online or install it locally with:
This will place the tour binary in your GOPATH's bin directory.
A 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.
Answers to common questions about Go.
A document that summarizes commonly used editor plugins and IDEs with Go support.
Summarizes tools and methodologies to diagnose problems in Go programs.
A document that describes how Go manages memory, and how to make the most of it.
When your code uses external packages, those packages (distributed as modules) become dependencies.
Main documentation page for Go fuzzing.
Main documentation page for coverage testing of Go applications.
Main documentation page for profile-guided optimization (PGO) of Go applications.
Guide for safe step-by-step migration from encoding/json to encoding/json/v2.
The documentation for the Go standard library.
The documentation for the Go tools.
The official Go Language specification.
A detailed reference manual for Go's dependency management system.
访问原文 返回搜索 https://go.dev/doc
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。