Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adonovan/gopl.io
/ types & classes
Types & classes
83 in github.com/adonovan/gopl.io
⨍
Functions
421
◇
Types & classes
83
↓ 4 callers
TypeAlias
lexPanic
ch7/eval/parse.go:24
↓ 2 callers
TypeAlias
Celsius
ch7/tempconv/tempconv.go:14
↓ 2 callers
TypeAlias
Celsius
ch2/tempconv0/celsius.go:12
↓ 2 callers
TypeAlias
Fahrenheit
ch7/tempconv/tempconv.go:15
↓ 2 callers
TypeAlias
Fahrenheit
ch2/tempconv0/celsius.go:13
↓ 2 callers
TypeAlias
byArtist
!-printTracks !+artistcode
ch7/sorting/main.go:58
↓ 1 callers
TypeAlias
ByteCounter
!+bytecounter
ch7/bytecounter/main.go:15
↓ 1 callers
TypeAlias
Celsius
ch2/tempconv/tempconv.go:11
↓ 1 callers
TypeAlias
Fahrenheit
ch2/tempconv/tempconv.go:12
↓ 1 callers
TypeAlias
Var
!+ast A Var identifies a variable, e.g., x.
ch7/eval/ast.go:17
↓ 1 callers
TypeAlias
byYear
!-artistcode !+yearcode
ch7/sorting/main.go:67
↓ 1 callers
TypeAlias
cake
ch8/cake/cake.go:33
↓ 1 callers
TypeAlias
literal
A literal is a numeric constant, e.g., 3.141.
ch7/eval/ast.go:20
↓ 1 callers
TypeAlias
mystring
ch13/equal/equal_test.go:27
Struct
Circle
ch4/embed/main.go:13
Struct
ColoredPoint
ch6/coloredpoint/main.go:19
Struct
Cycle
a linked list that eats its own tail
ch12/display/display_test.go:244
TypeAlias
CyclePtr
ch13/equal/equal_test.go:15
TypeAlias
CycleSlice
ch13/equal/equal_test.go:20
TypeAlias
Env
!+env
ch7/eval/eval.go:16
Interface
Expr
An Expr is an arithmetic expression.
ch7/eval/ast.go:7
FuncType
Func
Func is the type of the function to memoize.
ch9/memo2/memo.go:13
FuncType
Func
Func is the type of the function to memoize.
ch9/memo4/memo.go:15
FuncType
Func
func(string) (interface{}, error)
ch9/memo3/memo.go:19
FuncType
Func
!+Func Func is the type of the function to memoize.
ch9/memo5/memo.go:15
FuncType
Func
Func is the type of the function to memoize.
ch9/memo1/memo.go:19
Struct
IntSet
!+intset An IntSet is a set of small non-negative integers. Its zero value represents the empty set.
ch6/intset/intset.go:18
Struct
Issue
ch4/github/github.go:20
Struct
IssuesSearchResult
ch4/github/github.go:15
Interface
M
ch9/memotest/memotest.go:54
TypeAlias
M
a map that contains itself
ch12/display/display_test.go:222
Struct
Memo
!+
ch9/memo2/memo.go:26
Struct
Memo
ch9/memo4/memo.go:32
Struct
Memo
ch9/memo3/memo.go:13
Struct
Memo
ch9/memo5/memo.go:38
Struct
Memo
A Memo caches the results of calling a Func.
ch9/memo1/memo.go:13
Struct
Movie
ch12/display/display_test.go:95
Struct
Movie
ch12/sexpr/sexpr_test.go:22
Struct
Movie
!+
ch4/movie/main.go:16
TypeAlias
P
Output: Display rV (reflect.Value): (*rV.typ).size = 8 (*rV.typ).ptrdata = 8 (*rV.typ).hash = 871609668 (*rV.typ)._ = 0 ... a pointer that points to i
ch12/display/display_test.go:211
TypeAlias
Path
!-point !+path A Path is a journey connecting the points with straight lines.
ch6/geometry/geometry.go:29
Struct
Point
ch6/coloredpoint/main.go:17
Struct
Point
ch6/geometry/geometry.go:12
Struct
Point
ch4/embed/main.go:11
TypeAlias
S
a slice that contains itself
ch12/display/display_test.go:233
Struct
Shop
ch8/cake/cake.go:19
Struct
Track
!+main
ch7/sorting/main.go:18
Struct
User
ch4/github/github.go:30
Struct
Wheel
ch4/embed/main.go:18
Struct
bailout
ch5/title3/title.go:35
Struct
binary
A binary represents a binary operator expression, e.g., x+y.
ch7/eval/ast.go:29
Struct
call
A call represents a function call expression, e.g., sin(x).
ch7/eval/ast.go:35
Struct
celsiusFlag
* //!+flagvalue package flag // Value is the interface to the value stored in a flag. type Value interface { String() string Set(string) error } //
ch7/tempconv/tempconv.go:36
TypeAlias
client
!+broadcaster
ch8/chat/chat.go:18
Struct
comparison
ch13/equal/equal.go:122
Struct
customSort
* //!+artistoutput Title Artist Album Year Length ----- ------ ----- ---- ------ Go Ahead
ch7/sorting/main.go:145
TypeAlias
database
ch7/http4/main.go:31
TypeAlias
database
ch7/http3a/main.go:26
TypeAlias
database
ch7/http1/main.go:26
TypeAlias
database
ch7/http2/main.go:24
TypeAlias
database
ch7/http3/main.go:30
TypeAlias
dollars
!-main
ch7/http4/main.go:27
TypeAlias
dollars
ch7/http1/main.go:22
TypeAlias
dollars
ch7/http2/main.go:20
TypeAlias
dollars
ch7/http3/main.go:16
Struct
entry
!+
ch9/memo4/memo.go:23
Struct
entry
ch9/memo5/memo.go:23
Struct
item
ch8/thumbnail/thumbnail_test.go:87
Struct
lexer
!-Unmarshal !+lexer
ch12/sexpr/decode.go:38
Struct
lexer
---- lexer ---- This lexer is similar to the one described in Chapter 13.
ch7/eval/parse.go:16
Struct
link
ch13/equal/equal_test.go:114
Struct
printer
ch12/sexpr/pretty.go:31
Struct
request
!-Func !+get A request is a message requesting that the Func be applied to key.
ch9/memo5/memo.go:33
Struct
result
ch9/memo2/memo.go:15
Struct
result
ch9/memo4/memo.go:17
Struct
result
ch9/memo3/memo.go:21
Struct
result
A result is the result of calling a Func.
ch9/memo5/memo.go:18
Struct
result
ch9/memo1/memo.go:21
Struct
token
ch12/sexpr/pretty.go:25
Struct
tree
!+
ch4/treesort/sort.go:10
Struct
unary
A unary represents a unary operator expression, e.g., -x.
ch7/eval/ast.go:23
Struct
writer
ch13/bzip-print/bzip2.go:29
Struct
writer
ch13/bzip/bzip2.go:45