• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

go语言 documentation

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

Documentation文档

The Go programming language is an open source project to make programmers more productive.

go语言是一个开源项目,是程序员开发更有效率。

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.

go语言的表达, 简洁, 干净, 高效。它的并发机制使编写程序能够很容易地写出多核和网络化的计算机, 而它的新型系统则支持灵活的模块化程序构建。快速编译到机器代码还有垃圾收集的便利性和运行时反射的能力。它是一种快速、静态类型化的编译语言, 它感觉就像一个动态类型化的、解释的语言。 

Installing Go 安装go语言

Getting Started 开始

Instructions for downloading and installing the Go compilers, tools, and libraries.

下载和安装go语言编译器、工具、库的说明

Learning Go 学习go语言

A Tour of Go 总览go语言

An 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 take the tour online or install it locally with:

一个交互式的介绍go语言的三节。

第一部分介绍基本语法和数据结构;

第二, 讨论方法和接口;第三章介绍了 "go" 的并发基元。

每个部分的结论都是一些练习, 这样你就可以练习你学到的东西了。您可以联机访问或在本地安装该教程:

$ go get golang.org/x/tour/gotour

This will place the gotour binary in your workspace\'s bin directory.

这将在工作区的 bin 目录中放置 gotour 二进制文件。

How to write Go code 如何写go代码

Also available as a screencast, this doc explains how to use the go command to fetch, build, and install packages, commands, and run tests.

Editor plugins and IDEs 编辑器插件和 ide

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

总结常用的编辑器插件和 ide 的文档。

Effective Go go语言高效

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.

惯用go语言代码给出写清楚的文档提示。A 必须为任何新的程序员阅读。它增强了旅游和语言规范, 这两者都应该首先阅读。

Diagnostics 诊断

Summarizes tools and methodologies to diagnose problems in Go programs.

总结一些工具和方法去诊断问题,在go语言项目中。

 

Frequently Asked Questions (FAQ)常见问题解答 (常见问题)

Answers to common questions about Go.常见问题解答关于go语言

The Go Wiki

A wiki maintained by the Go community.由 "go社区" 维护的 wiki。

More

See the Learn page at the Wiki for more Go learning resources.

References 引用

Package Documentation 包的文档

The documentation for the Go standard library. 这个文档是go语言标准库

Command Documentation 命令行文档

The documentation for the Go tools.这个文档是go语言工具

Language Specification 语言规范

The official Go Language specification. 官方规定的go语言规范

The Go Memory Model go语言内存模型

A 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.

一个文档, 它指定一个 goroutine 中的变量读取的条件, 可以保证在不同的 goroutine 中观察对同一变量的写入所产生的值。

Release History 历史版本

A summary of the changes between Go releases.总结go语言在不同版本之间的变化

Articles 文章

The Go Blog go语言博客

The official blog of the Go project, featuring news and in-depth articles by the Go team and guests.

 

Codewalks

Guided tours of Go programs.    go语言程序引导教程

Language 语言

Packages 包

Tools 工具

More 更多

See the Articles page at the Wiki for more Go articles.

Talks 演讲

A Video Tour of Go  go语言教程视频

Three things that make Go fast, fun, and productive: interfaces, reflection, and concurrency. Builds a toy web crawler to demonstrate these.

go语言的接口,反射,并发,这三个特性使go语言更快,更有趣,更有效率。建立一个网络爬虫来演示。

Code that grows with grace  优雅的代码

One of Go\'s key design goals is code adaptability; that it should be easy to take a simple design and build upon it in a clean and natural way. In this talk Andrew Gerrand describes a simple "chat roulette" server that matches pairs of incoming TCP connections, and then use Go\'s concurrency mechanisms, interfaces, and standard library to extend it with a web interface and other features. While the function of the program changes dramatically, Go\'s flexibility preserves the original design as it grows.

go语言设计的关键目标是代码的合理性;它应该是很容易采取一个简单的设计,并建立在它的清洁和自然的方式。在这个演讲中 Andrew Gerrand描述了一个简单的相互聊天服务,使用了TCP连接,用了go语言并发机制,go语言接口和go语言标准库来扩展一个web接口和其他特性。虽然程序的功能发生了巨大的变化,go语言灵活性保留了原始设计的增长。

 

Go Concurrency Patterns  go语言并发模式

Concurrency is the key to designing high performance network services. Go\'s concurrency primitives (goroutines and channels) provide a simple and efficient means of expressing concurrent execution. In this talk we see how tricky concurrency problems can be solved gracefully with simple Go code.

Advanced Go Concurrency Patterns  先进的go语言并发模式

This talk expands on the Go Concurrency Patterns talk to dive deeper into Go\'s concurrency primitives.

More 更多

See the Go Talks site and wiki page for more Go talks.

Non-English Documentation

See the NonEnglish page at the Wiki for localized documentation.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Go Modules 详解发布时间:2022-07-10
下一篇:
Go语言学习资料大全整理发布时间:2022-07-10
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap