Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

gobook

> 编程语言
Open source

The Go Programming Language

358 stars0 likes0 views
WebsiteGitHub

About

The Go Programming Language

介绍

这里是《GO语言编程》一书中示例源代码。

环境配置

  1. 安装 go1

  2. 打开 ~/.bashrc,加入:

    export $GOBOOK=~/gobook #假设代码在 ~/gobook 下 source $GOBOOK/env.sh

  3. 保存 ~/.bashrc,并 source 之

运行代码

对于单文件程序,如sample.go,直接运行go run sample.go即可。

对于多文件的复杂样例,直接 go run 主程序文件即可。

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Go

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言