# gopl-io **Repository Path**: icexmoon/gopl-io ## Basic Information - **Project Name**: gopl-io - **Description**: https://book.itsfun.top/gopl-zh/ch1/ch1-01.html 该书对应的示例代码 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-28 - **Last Updated**: 2024-10-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # The Go Programming Language This repository provides the downloadable example programs for the book, "The Go Programming Language"; see http://www.gopl.io. These example programs are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Creative Commons License You can download, build, and run the programs with the following commands: $ export GOPATH=$HOME/gobook # choose workspace directory $ go get gopl.io/ch1/helloworld # fetch, build, install $ $GOPATH/bin/helloworld # run Hello, 世界 Many of the programs contain comments of the form `//!+` and `//!-`. These comments bracket the parts of the programs that are excerpted in the book; you can safely ignore them. In a few cases, programs have been reformatted in an unnatural way so that they can be presented in stages in the book.