MCPcopy Create free account
hub / github.com/adonovan/gopl.io

github.com/adonovan/gopl.io @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
504 symbols 1,069 edges 163 files 233 documented · 46% updated 49d ago★ 8,036

Browse by type

Functions 421 Types & classes 83
What it actually does AI analysis from the code graph — generated when you open this
loading…
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.

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 343
Method 78
Struct 45
TypeAlias 31
FuncType 5
Interface 2

Languages

Go100%

Modules by API surface

ch7/sorting/main.go17 symbols
ch12/display/display_test.go15 symbols
ch9/memo5/memo.go11 symbols
ch7/eval/parse.go11 symbols
ch12/sexpr/pretty.go11 symbols
ch7/tempconv/tempconv.go8 symbols
ch7/eval/ast.go8 symbols
ch12/sexpr/decode.go8 symbols
ch8/thumbnail/thumbnail_test.go7 symbols
ch8/cake/cake.go7 symbols
ch2/popcount/popcount_test.go7 symbols
ch13/equal/equal_test.go7 symbols

Dependencies from manifests, versioned

golang.org/x/netv0.0.0-2021092919355 · 1×

For agents

$ claude mcp add gopl.io \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page