white_pawn

module
v0.0.0-...-590cb2f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2020 License: MIT

README

white_pawn

General Public Repo

Directories

Path Synopsis
go
src/book/ch1/dup1
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count.
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count.
src/book/ch1/dup2
Dup2 prints the count and text of lines that appear more than once in the input.
Dup2 prints the count and text of lines that appear more than once in the input.
src/book/ch1/dup3
Dup3 prints the count and text of lines that appear more than once in the named input files.
Dup3 prints the count and text of lines that appear more than once in the named input files.
src/book/ch1/echo1
Echo1 prints its command-line arguments.
Echo1 prints its command-line arguments.
src/book/ch1/echo2
Echo2 prints its command-line arguments.
Echo2 prints its command-line arguments.
src/book/ch1/echo3
Echo3 prints its command-line arguments.
Echo3 prints its command-line arguments.
src/book/ch1/fetch
Fetch prints the content found at each specified URL.
Fetch prints the content found at each specified URL.
src/book/ch1/fetchall
Fetchall fetches URLs in parallel and reports their times and sizes.
Fetchall fetches URLs in parallel and reports their times and sizes.
src/book/ch1/helloworld
Helloworld is our first Go program.
Helloworld is our first Go program.
src/book/ch1/lissajous
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
src/book/ch1/server1
Server1 is a minimal "echo" server.
Server1 is a minimal "echo" server.
src/book/ch1/server2
Server2 is a minimal "echo" and counter server.
Server2 is a minimal "echo" and counter server.
src/book/ch1/server3
Server3 is an "echo" server that displays request parameters.
Server3 is an "echo" server that displays request parameters.
src/book/ch10/cross
The cross command prints the values of GOOS and GOARCH for this target.
The cross command prints the values of GOOS and GOARCH for this target.
src/book/ch10/jpeg
The jpeg command reads a PNG image from the standard input and writes it as a JPEG image to the standard output.
The jpeg command reads a PNG image from the standard input and writes it as a JPEG image to the standard output.
src/book/ch11/echo
Echo prints its command-line arguments.
Echo prints its command-line arguments.
src/book/ch11/storage1
Package storage is part of a hypothetical cloud storage server.
Package storage is part of a hypothetical cloud storage server.
src/book/ch11/storage2
Package storage is part of a hypothetical cloud storage server.
Package storage is part of a hypothetical cloud storage server.
src/book/ch11/word1
Package word provides utilities for word games.
Package word provides utilities for word games.
src/book/ch11/word2
Package word provides utilities for word games.
Package word provides utilities for word games.
src/book/ch12/display
Package display provides a means to display structured data.
Package display provides a means to display structured data.
src/book/ch12/format
Package format provides an Any function that can format any value.
Package format provides an Any function that can format any value.
src/book/ch12/methods
Package methods provides a function to print the methods of any value.
Package methods provides a function to print the methods of any value.
src/book/ch12/params
Package params provides a reflection-based parser for URL parameters.
Package params provides a reflection-based parser for URL parameters.
src/book/ch12/search
Search is a demo of the params.Unpack function.
Search is a demo of the params.Unpack function.
src/book/ch12/sexpr
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
src/book/ch13/bzip
Package bzip provides a writer that uses bzip2 compression (bzip.org).
Package bzip provides a writer that uses bzip2 compression (bzip.org).
src/book/ch13/bzip-print
Package bzip provides a writer that uses bzip2 compression (bzip.org).
Package bzip provides a writer that uses bzip2 compression (bzip.org).
src/book/ch13/bzipper
Bzipper reads input, bzip2-compresses it, and writes it out.
Bzipper reads input, bzip2-compresses it, and writes it out.
src/book/ch13/equal
Package equal provides a deep equivalence relation for arbitrary values.
Package equal provides a deep equivalence relation for arbitrary values.
src/book/ch13/unsafeptr
Package unsafeptr demonstrates basic use of unsafe.Pointer.
Package unsafeptr demonstrates basic use of unsafe.Pointer.
src/book/ch2/boiling
Boiling prints the boiling point of water.
Boiling prints the boiling point of water.
src/book/ch2/cf
Cf converts its numeric argument to Celsius and Fahrenheit.
Cf converts its numeric argument to Celsius and Fahrenheit.
src/book/ch2/echo4
Echo4 prints its command-line arguments.
Echo4 prints its command-line arguments.
src/book/ch2/ftoc
Ftoc prints two Fahrenheit-to-Celsius conversions.
Ftoc prints two Fahrenheit-to-Celsius conversions.
src/book/ch2/popcount
(Package doc comment intentionally malformed to demonstrate golint.) !+
(Package doc comment intentionally malformed to demonstrate golint.) !+
src/book/ch2/tempconv
Package tempconv performs Celsius and Fahrenheit conversions.
Package tempconv performs Celsius and Fahrenheit conversions.
src/book/ch2/tempconv0
Package tempconv performs Celsius and Fahrenheit temperature computations.
Package tempconv performs Celsius and Fahrenheit temperature computations.
src/book/ch3/basename1
Basename1 reads file names from stdin and prints the base name of each one.
Basename1 reads file names from stdin and prints the base name of each one.
src/book/ch3/basename2
Basename2 reads file names from stdin and prints the base name of each one.
Basename2 reads file names from stdin and prints the base name of each one.
src/book/ch3/mandelbrot
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
src/book/ch3/mandelbrot_zoom
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
src/book/ch3/netflag
Netflag demonstrates an integer type used as a bit field.
Netflag demonstrates an integer type used as a bit field.
src/book/ch3/printints
Printints demonstrates the use of bytes.Buffer to format a string.
Printints demonstrates the use of bytes.Buffer to format a string.
src/book/ch3/surface
Surface computes an SVG rendering of a 3-D surface function.
Surface computes an SVG rendering of a 3-D surface function.
src/book/ch4/append
Append illustrates the behavior of the built-in append function.
Append illustrates the behavior of the built-in append function.
src/book/ch4/autoescape
Autoescape demonstrates automatic HTML escaping in html/template.
Autoescape demonstrates automatic HTML escaping in html/template.
src/book/ch4/charcount
Charcount computes counts of Unicode characters.
Charcount computes counts of Unicode characters.
src/book/ch4/dedup
Dedup prints only one instance of each line; duplicates are removed.
Dedup prints only one instance of each line; duplicates are removed.
src/book/ch4/embed
Embed demonstrates basic struct embedding.
Embed demonstrates basic struct embedding.
src/book/ch4/github
Package github provides a Go API for the GitHub issue tracker.
Package github provides a Go API for the GitHub issue tracker.
src/book/ch4/graph
Graph shows how to use a map of maps to represent a directed graph.
Graph shows how to use a map of maps to represent a directed graph.
src/book/ch4/issues
Issues prints a table of GitHub issues matching the search terms.
Issues prints a table of GitHub issues matching the search terms.
src/book/ch4/issueshtml
Issueshtml prints an HTML table of issues matching the search terms.
Issueshtml prints an HTML table of issues matching the search terms.
src/book/ch4/issuesreport
Issuesreport prints a report of issues matching the search terms.
Issuesreport prints a report of issues matching the search terms.
src/book/ch4/movie
Movie prints Movies as JSON.
Movie prints Movies as JSON.
src/book/ch4/nonempty
Nonempty is an example of an in-place slice algorithm.
Nonempty is an example of an in-place slice algorithm.
src/book/ch4/sha256
The sha256 command computes the SHA256 hash (an array) of a string.
The sha256 command computes the SHA256 hash (an array) of a string.
src/book/ch4/treesort
Package treesort provides insertion sort using an unbalanced binary tree.
Package treesort provides insertion sort using an unbalanced binary tree.
src/book/ch5/defer1
Defer1 demonstrates a deferred call being invoked during a panic.
Defer1 demonstrates a deferred call being invoked during a panic.
src/book/ch5/defer2
Defer2 demonstrates a deferred call to runtime.Stack during a panic.
Defer2 demonstrates a deferred call to runtime.Stack during a panic.
src/book/ch5/fetch
Fetch saves the contents of a URL into a local file.
Fetch saves the contents of a URL into a local file.
src/book/ch5/findlinks1
Findlinks1 prints the links in an HTML document read from standard input.
Findlinks1 prints the links in an HTML document read from standard input.
src/book/ch5/findlinks2
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it.
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it.
src/book/ch5/findlinks3
Findlinks3 crawls the web, starting with the URLs on the command line.
Findlinks3 crawls the web, starting with the URLs on the command line.
src/book/ch5/links
Package links provides a link-extraction function.
Package links provides a link-extraction function.
src/book/ch5/outline
Outline prints the outline of an HTML document tree.
Outline prints the outline of an HTML document tree.
src/book/ch5/outline2
Outline prints the outline of an HTML document tree.
Outline prints the outline of an HTML document tree.
src/book/ch5/squares
The squares program demonstrates a function value with state.
The squares program demonstrates a function value with state.
src/book/ch5/sum
The sum program demonstrates a variadic function.
The sum program demonstrates a variadic function.
src/book/ch5/title1
Title1 prints the title of an HTML document specified by a URL.
Title1 prints the title of an HTML document specified by a URL.
src/book/ch5/title2
Title2 prints the title of an HTML document specified by a URL.
Title2 prints the title of an HTML document specified by a URL.
src/book/ch5/title3
Title3 prints the title of an HTML document specified by a URL.
Title3 prints the title of an HTML document specified by a URL.
src/book/ch5/toposort
The toposort program prints the nodes of a DAG in topological order.
The toposort program prints the nodes of a DAG in topological order.
src/book/ch5/trace
The trace program uses defer to add entry/exit diagnostics to a function.
The trace program uses defer to add entry/exit diagnostics to a function.
src/book/ch5/wait
The wait program waits for an HTTP server to start responding.
The wait program waits for an HTTP server to start responding.
src/book/ch6/coloredpoint
Coloredpoint demonstrates struct embedding.
Coloredpoint demonstrates struct embedding.
src/book/ch6/geometry
Package geometry defines simple types for plane geometry.
Package geometry defines simple types for plane geometry.
src/book/ch6/intset
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
src/book/ch6/urlvalues
The urlvalues command demonstrates a map type with methods.
The urlvalues command demonstrates a map type with methods.
src/book/ch7/bytecounter
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
src/book/ch7/eval
Package eval provides an expression evaluator.
Package eval provides an expression evaluator.
src/book/ch7/http1
Http1 is a rudimentary e-commerce server.
Http1 is a rudimentary e-commerce server.
src/book/ch7/http2
Http2 is an e-commerce server with /list and /price endpoints.
Http2 is an e-commerce server with /list and /price endpoints.
src/book/ch7/http3
Http3 is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).Handle.
Http3 is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).Handle.
src/book/ch7/http3a
Http3a is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).HandleFunc.
Http3a is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).HandleFunc.
src/book/ch7/http4
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
src/book/ch7/sleep
The sleep program sleeps for a specified period of time.
The sleep program sleeps for a specified period of time.
src/book/ch7/sorting
Sorting sorts a music playlist into a variety of orders.
Sorting sorts a music playlist into a variety of orders.
src/book/ch7/surface
The surface program plots the 3-D surface of a user-provided function.
The surface program plots the 3-D surface of a user-provided function.
src/book/ch7/tempconv
Package tempconv performs Celsius and Fahrenheit temperature computations.
Package tempconv performs Celsius and Fahrenheit temperature computations.
src/book/ch7/tempflag
Tempflag prints the value of its -temp (temperature) flag.
Tempflag prints the value of its -temp (temperature) flag.
src/book/ch7/xmlselect
Xmlselect prints the text of selected elements of an XML document.
Xmlselect prints the text of selected elements of an XML document.
src/book/ch8/cake
Package cake provides a simulation of a concurrent cake shop with numerous parameters.
Package cake provides a simulation of a concurrent cake shop with numerous parameters.
src/book/ch8/chat
Chat is a server that lets clients chat with each other.
Chat is a server that lets clients chat with each other.
src/book/ch8/clock1
Clock1 is a TCP server that periodically writes the time.
Clock1 is a TCP server that periodically writes the time.
src/book/ch8/clock2
Clock is a TCP server that periodically writes the time.
Clock is a TCP server that periodically writes the time.
src/book/ch8/countdown1
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
src/book/ch8/countdown2
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
src/book/ch8/countdown3
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
src/book/ch8/crawl1
Crawl1 crawls web links starting with the command-line arguments.
Crawl1 crawls web links starting with the command-line arguments.
src/book/ch8/crawl2
Crawl2 crawls web links starting with the command-line arguments.
Crawl2 crawls web links starting with the command-line arguments.
src/book/ch8/crawl3
Crawl3 crawls web links starting with the command-line arguments.
Crawl3 crawls web links starting with the command-line arguments.
src/book/ch8/du1
The du1 command computes the disk usage of the files in a directory.
The du1 command computes the disk usage of the files in a directory.
src/book/ch8/du2
The du2 command computes the disk usage of the files in a directory.
The du2 command computes the disk usage of the files in a directory.
src/book/ch8/du3
The du3 command computes the disk usage of the files in a directory.
The du3 command computes the disk usage of the files in a directory.
src/book/ch8/du4
The du4 command computes the disk usage of the files in a directory.
The du4 command computes the disk usage of the files in a directory.
src/book/ch8/netcat1
Netcat1 is a read-only TCP client.
Netcat1 is a read-only TCP client.
src/book/ch8/netcat2
Netcat is a simple read/write client for TCP servers.
Netcat is a simple read/write client for TCP servers.
src/book/ch8/netcat3
Netcat is a simple read/write client for TCP servers.
Netcat is a simple read/write client for TCP servers.
src/book/ch8/pipeline1
Pipeline1 demonstrates an infinite 3-stage pipeline.
Pipeline1 demonstrates an infinite 3-stage pipeline.
src/book/ch8/pipeline2
Pipeline2 demonstrates a finite 3-stage pipeline.
Pipeline2 demonstrates a finite 3-stage pipeline.
src/book/ch8/pipeline3
Pipeline3 demonstrates a finite 3-stage pipeline with range, close, and unidirectional channel types.
Pipeline3 demonstrates a finite 3-stage pipeline with range, close, and unidirectional channel types.
src/book/ch8/reverb1
Reverb1 is a TCP server that simulates an echo.
Reverb1 is a TCP server that simulates an echo.
src/book/ch8/reverb2
Reverb2 is a TCP server that simulates an echo.
Reverb2 is a TCP server that simulates an echo.
src/book/ch8/spinner
Spinner displays an animation while computing the 45th Fibonacci number.
Spinner displays an animation while computing the 45th Fibonacci number.
src/book/ch8/thumbnail
The thumbnail package produces thumbnail-size images from larger images.
The thumbnail package produces thumbnail-size images from larger images.
src/book/ch9/bank1
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
src/book/ch9/bank2
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
src/book/ch9/bank3
Package bank provides a concurrency-safe single-account bank.
Package bank provides a concurrency-safe single-account bank.
src/book/ch9/memo1
Package memo provides a concurrency-unsafe memoization of a function of type Func.
Package memo provides a concurrency-unsafe memoization of a function of type Func.
src/book/ch9/memo2
Package memo provides a concurrency-safe memoization a function of type Func.
Package memo provides a concurrency-safe memoization a function of type Func.
src/book/ch9/memo3
Package memo provides a concurrency-safe memoization a function of type Func.
Package memo provides a concurrency-safe memoization a function of type Func.
src/book/ch9/memo4
Package memo provides a concurrency-safe memoization a function of a function.
Package memo provides a concurrency-safe memoization a function of a function.
src/book/ch9/memo5
Package memo provides a concurrency-safe non-blocking memoization of a function.
Package memo provides a concurrency-safe non-blocking memoization of a function.
src/book/ch9/memotest
Package memotest provides common functions for testing various designs of the memo package.
Package memotest provides common functions for testing various designs of the memo package.
src/book/gopl.io-master/ch1/dup1
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count.
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count.
src/book/gopl.io-master/ch1/dup2
Dup2 prints the count and text of lines that appear more than once in the input.
Dup2 prints the count and text of lines that appear more than once in the input.
src/book/gopl.io-master/ch1/dup3
Dup3 prints the count and text of lines that appear more than once in the named input files.
Dup3 prints the count and text of lines that appear more than once in the named input files.
src/book/gopl.io-master/ch1/echo1
Echo1 prints its command-line arguments.
Echo1 prints its command-line arguments.
src/book/gopl.io-master/ch1/echo2
Echo2 prints its command-line arguments.
Echo2 prints its command-line arguments.
src/book/gopl.io-master/ch1/echo3
Echo3 prints its command-line arguments.
Echo3 prints its command-line arguments.
src/book/gopl.io-master/ch1/fetch
Fetch prints the content found at each specified URL.
Fetch prints the content found at each specified URL.
src/book/gopl.io-master/ch1/fetchall
Fetchall fetches URLs in parallel and reports their times and sizes.
Fetchall fetches URLs in parallel and reports their times and sizes.
src/book/gopl.io-master/ch1/helloworld
Helloworld is our first Go program.
Helloworld is our first Go program.
src/book/gopl.io-master/ch1/lissajous
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
src/book/gopl.io-master/ch1/server1
Server1 is a minimal "echo" server.
Server1 is a minimal "echo" server.
src/book/gopl.io-master/ch1/server2
Server2 is a minimal "echo" and counter server.
Server2 is a minimal "echo" and counter server.
src/book/gopl.io-master/ch1/server3
Server3 is an "echo" server that displays request parameters.
Server3 is an "echo" server that displays request parameters.
src/book/gopl.io-master/ch10/cross
The cross command prints the values of GOOS and GOARCH for this target.
The cross command prints the values of GOOS and GOARCH for this target.
src/book/gopl.io-master/ch10/jpeg
The jpeg command reads a PNG image from the standard input and writes it as a JPEG image to the standard output.
The jpeg command reads a PNG image from the standard input and writes it as a JPEG image to the standard output.
src/book/gopl.io-master/ch11/echo
Echo prints its command-line arguments.
Echo prints its command-line arguments.
src/book/gopl.io-master/ch11/storage1
Package storage is part of a hypothetical cloud storage server.
Package storage is part of a hypothetical cloud storage server.
src/book/gopl.io-master/ch11/storage2
Package storage is part of a hypothetical cloud storage server.
Package storage is part of a hypothetical cloud storage server.
src/book/gopl.io-master/ch11/word1
Package word provides utilities for word games.
Package word provides utilities for word games.
src/book/gopl.io-master/ch11/word2
Package word provides utilities for word games.
Package word provides utilities for word games.
src/book/gopl.io-master/ch12/display
Package display provides a means to display structured data.
Package display provides a means to display structured data.
src/book/gopl.io-master/ch12/format
Package format provides an Any function that can format any value.
Package format provides an Any function that can format any value.
src/book/gopl.io-master/ch12/methods
Package methods provides a function to print the methods of any value.
Package methods provides a function to print the methods of any value.
src/book/gopl.io-master/ch12/params
Package params provides a reflection-based parser for URL parameters.
Package params provides a reflection-based parser for URL parameters.
src/book/gopl.io-master/ch12/search
Search is a demo of the params.Unpack function.
Search is a demo of the params.Unpack function.
src/book/gopl.io-master/ch12/sexpr
Package sexpr provides a means for converting Go objects to and from S-expressions.
Package sexpr provides a means for converting Go objects to and from S-expressions.
src/book/gopl.io-master/ch13/bzip
Package bzip provides a writer that uses bzip2 compression (bzip.org).
Package bzip provides a writer that uses bzip2 compression (bzip.org).
src/book/gopl.io-master/ch13/bzip-print
Package bzip provides a writer that uses bzip2 compression (bzip.org).
Package bzip provides a writer that uses bzip2 compression (bzip.org).
src/book/gopl.io-master/ch13/bzipper
Bzipper reads input, bzip2-compresses it, and writes it out.
Bzipper reads input, bzip2-compresses it, and writes it out.
src/book/gopl.io-master/ch13/equal
Package equal provides a deep equivalence relation for arbitrary values.
Package equal provides a deep equivalence relation for arbitrary values.
src/book/gopl.io-master/ch13/unsafeptr
Package unsafeptr demonstrates basic use of unsafe.Pointer.
Package unsafeptr demonstrates basic use of unsafe.Pointer.
src/book/gopl.io-master/ch2/boiling
Boiling prints the boiling point of water.
Boiling prints the boiling point of water.
src/book/gopl.io-master/ch2/cf
Cf converts its numeric argument to Celsius and Fahrenheit.
Cf converts its numeric argument to Celsius and Fahrenheit.
src/book/gopl.io-master/ch2/echo4
Echo4 prints its command-line arguments.
Echo4 prints its command-line arguments.
src/book/gopl.io-master/ch2/ftoc
Ftoc prints two Fahrenheit-to-Celsius conversions.
Ftoc prints two Fahrenheit-to-Celsius conversions.
src/book/gopl.io-master/ch2/popcount
(Package doc comment intentionally malformed to demonstrate golint.) !+
(Package doc comment intentionally malformed to demonstrate golint.) !+
src/book/gopl.io-master/ch2/tempconv
Package tempconv performs Celsius and Fahrenheit conversions.
Package tempconv performs Celsius and Fahrenheit conversions.
src/book/gopl.io-master/ch2/tempconv0
Package tempconv performs Celsius and Fahrenheit temperature computations.
Package tempconv performs Celsius and Fahrenheit temperature computations.
src/book/gopl.io-master/ch3/basename1
Basename1 reads file names from stdin and prints the base name of each one.
Basename1 reads file names from stdin and prints the base name of each one.
src/book/gopl.io-master/ch3/basename2
Basename2 reads file names from stdin and prints the base name of each one.
Basename2 reads file names from stdin and prints the base name of each one.
src/book/gopl.io-master/ch3/comma
Comma prints its argument numbers with a comma at each power of 1000.
Comma prints its argument numbers with a comma at each power of 1000.
src/book/gopl.io-master/ch3/mandelbrot
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
src/book/gopl.io-master/ch3/netflag
Netflag demonstrates an integer type used as a bit field.
Netflag demonstrates an integer type used as a bit field.
src/book/gopl.io-master/ch3/printints
Printints demonstrates the use of bytes.Buffer to format a string.
Printints demonstrates the use of bytes.Buffer to format a string.
src/book/gopl.io-master/ch4/append
Append illustrates the behavior of the built-in append function.
Append illustrates the behavior of the built-in append function.
src/book/gopl.io-master/ch4/autoescape
Autoescape demonstrates automatic HTML escaping in html/template.
Autoescape demonstrates automatic HTML escaping in html/template.
src/book/gopl.io-master/ch4/charcount
Charcount computes counts of Unicode characters.
Charcount computes counts of Unicode characters.
src/book/gopl.io-master/ch4/dedup
Dedup prints only one instance of each line; duplicates are removed.
Dedup prints only one instance of each line; duplicates are removed.
src/book/gopl.io-master/ch4/embed
Embed demonstrates basic struct embedding.
Embed demonstrates basic struct embedding.
src/book/gopl.io-master/ch4/github
Package github provides a Go API for the GitHub issue tracker.
Package github provides a Go API for the GitHub issue tracker.
src/book/gopl.io-master/ch4/graph
Graph shows how to use a map of maps to represent a directed graph.
Graph shows how to use a map of maps to represent a directed graph.
src/book/gopl.io-master/ch4/issues
Issues prints a table of GitHub issues matching the search terms.
Issues prints a table of GitHub issues matching the search terms.
src/book/gopl.io-master/ch4/issueshtml
Issueshtml prints an HTML table of issues matching the search terms.
Issueshtml prints an HTML table of issues matching the search terms.
src/book/gopl.io-master/ch4/issuesreport
Issuesreport prints a report of issues matching the search terms.
Issuesreport prints a report of issues matching the search terms.
src/book/gopl.io-master/ch4/movie
Movie prints Movies as JSON.
Movie prints Movies as JSON.
src/book/gopl.io-master/ch4/nonempty
Nonempty is an example of an in-place slice algorithm.
Nonempty is an example of an in-place slice algorithm.
src/book/gopl.io-master/ch4/rev
Rev reverses a slice.
Rev reverses a slice.
src/book/gopl.io-master/ch4/sha256
The sha256 command computes the SHA256 hash (an array) of a string.
The sha256 command computes the SHA256 hash (an array) of a string.
src/book/gopl.io-master/ch4/treesort
Package treesort provides insertion sort using an unbalanced binary tree.
Package treesort provides insertion sort using an unbalanced binary tree.
src/book/gopl.io-master/ch5/defer1
Defer1 demonstrates a deferred call being invoked during a panic.
Defer1 demonstrates a deferred call being invoked during a panic.
src/book/gopl.io-master/ch5/defer2
Defer2 demonstrates a deferred call to runtime.Stack during a panic.
Defer2 demonstrates a deferred call to runtime.Stack during a panic.
src/book/gopl.io-master/ch5/fetch
Fetch saves the contents of a URL into a local file.
Fetch saves the contents of a URL into a local file.
src/book/gopl.io-master/ch5/findlinks1
Findlinks1 prints the links in an HTML document read from standard input.
Findlinks1 prints the links in an HTML document read from standard input.
src/book/gopl.io-master/ch5/findlinks2
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it.
Findlinks2 does an HTTP GET on each URL, parses the result as HTML, and prints the links within it.
src/book/gopl.io-master/ch5/findlinks3
Findlinks3 crawls the web, starting with the URLs on the command line.
Findlinks3 crawls the web, starting with the URLs on the command line.
src/book/gopl.io-master/ch5/links
Package links provides a link-extraction function.
Package links provides a link-extraction function.
src/book/gopl.io-master/ch5/outline
Outline prints the outline of an HTML document tree.
Outline prints the outline of an HTML document tree.
src/book/gopl.io-master/ch5/outline2
Outline prints the outline of an HTML document tree.
Outline prints the outline of an HTML document tree.
src/book/gopl.io-master/ch5/squares
The squares program demonstrates a function value with state.
The squares program demonstrates a function value with state.
src/book/gopl.io-master/ch5/sum
The sum program demonstrates a variadic function.
The sum program demonstrates a variadic function.
src/book/gopl.io-master/ch5/title1
Title1 prints the title of an HTML document specified by a URL.
Title1 prints the title of an HTML document specified by a URL.
src/book/gopl.io-master/ch5/title2
Title2 prints the title of an HTML document specified by a URL.
Title2 prints the title of an HTML document specified by a URL.
src/book/gopl.io-master/ch5/title3
Title3 prints the title of an HTML document specified by a URL.
Title3 prints the title of an HTML document specified by a URL.
src/book/gopl.io-master/ch5/toposort
The toposort program prints the nodes of a DAG in topological order.
The toposort program prints the nodes of a DAG in topological order.
src/book/gopl.io-master/ch5/trace
The trace program uses defer to add entry/exit diagnostics to a function.
The trace program uses defer to add entry/exit diagnostics to a function.
src/book/gopl.io-master/ch5/wait
The wait program waits for an HTTP server to start responding.
The wait program waits for an HTTP server to start responding.
src/book/gopl.io-master/ch6/coloredpoint
Coloredpoint demonstrates struct embedding.
Coloredpoint demonstrates struct embedding.
src/book/gopl.io-master/ch6/geometry
Package geometry defines simple types for plane geometry.
Package geometry defines simple types for plane geometry.
src/book/gopl.io-master/ch6/intset
Package intset provides a set of integers based on a bit vector.
Package intset provides a set of integers based on a bit vector.
src/book/gopl.io-master/ch6/urlvalues
The urlvalues command demonstrates a map type with methods.
The urlvalues command demonstrates a map type with methods.
src/book/gopl.io-master/ch7/bytecounter
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
Bytecounter demonstrates an implementation of io.Writer that counts bytes.
src/book/gopl.io-master/ch7/eval
Package eval provides an expression evaluator.
Package eval provides an expression evaluator.
src/book/gopl.io-master/ch7/http1
Http1 is a rudimentary e-commerce server.
Http1 is a rudimentary e-commerce server.
src/book/gopl.io-master/ch7/http2
Http2 is an e-commerce server with /list and /price endpoints.
Http2 is an e-commerce server with /list and /price endpoints.
src/book/gopl.io-master/ch7/http3
Http3 is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).Handle.
Http3 is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).Handle.
src/book/gopl.io-master/ch7/http3a
Http3a is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).HandleFunc.
Http3a is an e-commerce server that registers the /list and /price endpoints by calling (*http.ServeMux).HandleFunc.
src/book/gopl.io-master/ch7/http4
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
Http4 is an e-commerce server that registers the /list and /price endpoint by calling http.HandleFunc.
src/book/gopl.io-master/ch7/sleep
The sleep program sleeps for a specified period of time.
The sleep program sleeps for a specified period of time.
src/book/gopl.io-master/ch7/sorting
Sorting sorts a music playlist into a variety of orders.
Sorting sorts a music playlist into a variety of orders.
src/book/gopl.io-master/ch7/surface
The surface program plots the 3-D surface of a user-provided function.
The surface program plots the 3-D surface of a user-provided function.
src/book/gopl.io-master/ch7/tempconv
Package tempconv performs Celsius and Fahrenheit temperature computations.
Package tempconv performs Celsius and Fahrenheit temperature computations.
src/book/gopl.io-master/ch7/tempflag
Tempflag prints the value of its -temp (temperature) flag.
Tempflag prints the value of its -temp (temperature) flag.
src/book/gopl.io-master/ch7/xmlselect
Xmlselect prints the text of selected elements of an XML document.
Xmlselect prints the text of selected elements of an XML document.
src/book/gopl.io-master/ch8/cake
Package cake provides a simulation of a concurrent cake shop with numerous parameters.
Package cake provides a simulation of a concurrent cake shop with numerous parameters.
src/book/gopl.io-master/ch8/chat
Chat is a server that lets clients chat with each other.
Chat is a server that lets clients chat with each other.
src/book/gopl.io-master/ch8/clock1
Clock1 is a TCP server that periodically writes the time.
Clock1 is a TCP server that periodically writes the time.
src/book/gopl.io-master/ch8/clock2
Clock is a TCP server that periodically writes the time.
Clock is a TCP server that periodically writes the time.
src/book/gopl.io-master/ch8/countdown1
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
src/book/gopl.io-master/ch8/countdown2
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
src/book/gopl.io-master/ch8/countdown3
Countdown implements the countdown for a rocket launch.
Countdown implements the countdown for a rocket launch.
src/book/gopl.io-master/ch8/crawl1
Crawl1 crawls web links starting with the command-line arguments.
Crawl1 crawls web links starting with the command-line arguments.
src/book/gopl.io-master/ch8/crawl2
Crawl2 crawls web links starting with the command-line arguments.
Crawl2 crawls web links starting with the command-line arguments.
src/book/gopl.io-master/ch8/crawl3
Crawl3 crawls web links starting with the command-line arguments.
Crawl3 crawls web links starting with the command-line arguments.
src/book/gopl.io-master/ch8/du1
The du1 command computes the disk usage of the files in a directory.
The du1 command computes the disk usage of the files in a directory.
src/book/gopl.io-master/ch8/du2
The du2 command computes the disk usage of the files in a directory.
The du2 command computes the disk usage of the files in a directory.
src/book/gopl.io-master/ch8/du3
The du3 command computes the disk usage of the files in a directory.
The du3 command computes the disk usage of the files in a directory.
src/book/gopl.io-master/ch8/du4
The du4 command computes the disk usage of the files in a directory.
The du4 command computes the disk usage of the files in a directory.
src/book/gopl.io-master/ch8/netcat1
Netcat1 is a read-only TCP client.
Netcat1 is a read-only TCP client.
src/book/gopl.io-master/ch8/netcat2
Netcat is a simple read/write client for TCP servers.
Netcat is a simple read/write client for TCP servers.
src/book/gopl.io-master/ch8/netcat3
Netcat is a simple read/write client for TCP servers.
Netcat is a simple read/write client for TCP servers.
src/book/gopl.io-master/ch8/pipeline1
Pipeline1 demonstrates an infinite 3-stage pipeline.
Pipeline1 demonstrates an infinite 3-stage pipeline.
src/book/gopl.io-master/ch8/pipeline2
Pipeline2 demonstrates a finite 3-stage pipeline.
Pipeline2 demonstrates a finite 3-stage pipeline.
src/book/gopl.io-master/ch8/pipeline3
Pipeline3 demonstrates a finite 3-stage pipeline with range, close, and unidirectional channel types.
Pipeline3 demonstrates a finite 3-stage pipeline with range, close, and unidirectional channel types.
src/book/gopl.io-master/ch8/reverb1
Reverb1 is a TCP server that simulates an echo.
Reverb1 is a TCP server that simulates an echo.
src/book/gopl.io-master/ch8/reverb2
Reverb2 is a TCP server that simulates an echo.
Reverb2 is a TCP server that simulates an echo.
src/book/gopl.io-master/ch8/spinner
Spinner displays an animation while computing the 45th Fibonacci number.
Spinner displays an animation while computing the 45th Fibonacci number.
src/book/gopl.io-master/ch8/thumbnail
The thumbnail package produces thumbnail-size images from larger images.
The thumbnail package produces thumbnail-size images from larger images.
src/book/gopl.io-master/ch9/bank1
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
src/book/gopl.io-master/ch9/bank2
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
src/book/gopl.io-master/ch9/bank3
Package bank provides a concurrency-safe single-account bank.
Package bank provides a concurrency-safe single-account bank.
src/book/gopl.io-master/ch9/memo1
Package memo provides a concurrency-unsafe memoization of a function of type Func.
Package memo provides a concurrency-unsafe memoization of a function of type Func.
src/book/gopl.io-master/ch9/memo2
Package memo provides a concurrency-safe memoization a function of type Func.
Package memo provides a concurrency-safe memoization a function of type Func.
src/book/gopl.io-master/ch9/memo3
Package memo provides a concurrency-safe memoization a function of type Func.
Package memo provides a concurrency-safe memoization a function of type Func.
src/book/gopl.io-master/ch9/memo4
Package memo provides a concurrency-safe memoization a function of a function.
Package memo provides a concurrency-safe memoization a function of a function.
src/book/gopl.io-master/ch9/memo5
Package memo provides a concurrency-safe non-blocking memoization of a function.
Package memo provides a concurrency-safe non-blocking memoization of a function.
src/book/gopl.io-master/ch9/memotest
Package memotest provides common functions for testing various designs of the memo package.
Package memotest provides common functions for testing various designs of the memo package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL