Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adonovan/gopl.io
Example programs from "The Go Programming Language"
https://github.com/adonovan/gopl.io
Last synced: 13 days ago
JSON representation
Example programs from "The Go Programming Language"
- Host: GitHub
- URL: https://github.com/adonovan/gopl.io
- Owner: adonovan
- Created: 2015-02-03T02:11:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-10T11:13:10.000Z (3 months ago)
- Last Synced: 2024-10-22T03:53:52.356Z (21 days ago)
- Language: Go
- Homepage: http://www.gopl.io
- Size: 2.08 MB
- Stars: 7,593
- Watchers: 267
- Forks: 2,735
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- my-awesome - adonovan/gopl.io - 08 star:7.6k fork:2.7k Example programs from "The Go Programming Language" (Go)
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.
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.