tgpl/

directory
v0.0.0-...-0deda60 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MIT

Directories

Path Synopsis
ch1
Ex1.1
Prints command-line arguments
Prints command-line arguments
Ex1.10
Fetches URLs in parallel and reports elapsed time and size; investgates caching
Fetches URLs in parallel and reports elapsed time and size; investgates caching
Ex1.10.0
Fetches URLs in parallel and reports elapsed time and size
Fetches URLs in parallel and reports elapsed time and size
Ex1.11
Fetches URLs in parallel and reports elapsed time and size; investgates caching; panic when fetch timeout
Fetches URLs in parallel and reports elapsed time and size; investgates caching; panic when fetch timeout
Ex1.12.0
A minimal "echo" server; prints incoming url path
A minimal "echo" server; prints incoming url path
Ex1.12.1
A minimal "echo" server; prints incoming url path; count request counts
A minimal "echo" server; prints incoming url path; count request counts
Ex1.12.2
A minimal "echo" server; prints headers, form data
A minimal "echo" server; prints headers, form data
Ex1.2
Prints the index and value of each of its arguments, one per line
Prints the index and value of each of its arguments, one per line
Ex1.3
Package clargs measures the different in running time between the inefficient version and the one uses `strings.Join`
Package clargs measures the different in running time between the inefficient version and the one uses `strings.Join`
Ex1.4
Prints the names of all files in which each duplicated line occurs
Prints the names of all files in which each duplicated line occurs
Ex1.4.0
Prints the names of all files in which each duplicated line occurs
Prints the names of all files in which each duplicated line occurs
Ex1.5
Generates random animations of random Lissajous figures
Generates random animations of random Lissajous figures
Ex1.6
Generates random animations of random Lissajous figures
Generates random animations of random Lissajous figures
Ex1.7
Prints the content found at a URL
Prints the content found at a URL
Ex1.7.0
Prints the content found at a URL
Prints the content found at a URL
Ex1.8
Prints the content found at a URL; prefix http:// if it's missing in url
Prints the content found at a URL; prefix http:// if it's missing in url
Ex1.9
Prints the content found at a URL; prefix http:// if it's missing in url
Prints the content found at a URL; prefix http:// if it's missing in url
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
mandelbrot
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ch11
echo
Echo prints its command-line arguments.
Echo prints its command-line arguments.
rand_test
Package word provides utilities for word games
Package word provides utilities for word games
word1
Package word provides utilities for word games
Package word provides utilities for word games
word2
Package word provides utilities for word games
Package word provides utilities for word games
ch12
ch2
Ex2.0
Prints comamnd-line arguments
Prints comamnd-line arguments
tempconv
Package tempconv performs Celsius and Fahrenheit conversions
Package tempconv performs Celsius and Fahrenheit conversions
ch3
Ex3.1
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.1.0
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.3
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.4
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.5
emits a PNG image of the Mandelbrot fractal
emits a PNG image of the Mandelbrot fractal
Ex3.5.0
emits a PNG image of the Mandelbrot fractal
emits a PNG image of the Mandelbrot fractal
string
some string utilities; check standard library for existence before using these implementations
some string utilities; check standard library for existence before using these implementations
ch4
Ex4.1
counts the number of bits that are different in 2 SHA256 hases
counts the number of bits that are different in 2 SHA256 hases
Ex4.10
Issues prints a table of Github issues matching the search terms
Issues prints a table of Github issues matching the search terms
Ex4.2
prints the SHA256 hash of its standard input by default supports a command-line flag to print the SHA384 or SHA512 hash instead
prints the SHA256 hash of its standard input by default supports a command-line flag to print the SHA384 or SHA512 hash instead
Ex4.8
computes counts of Unicode characters
computes counts of Unicode characters
Ex4.9
reports the frequency of each word in an input text file
reports the frequency of each word in an input text file
charcount
computes counts of Unicode characters
computes counts of Unicode characters
dedup
uses a map whose keys represent the set of lines that have already appeared to ensure that subsequent occurrences not printed
uses a map whose keys represent the set of lines that have already appeared to ensure that subsequent occurrences not printed
github
Package github provides a Go API for the Github issue tracker https://developer.github.com/v3/search/#search-issues
Package github provides a Go API for the Github issue tracker https://developer.github.com/v3/search/#search-issues
graph
graph maps a string to a set of related strings, its successors in a directed graph
graph maps a string to a set of related strings, its successors in a directed graph
issues
Issues prints a table of Github issues matching the search terms
Issues prints a table of Github issues matching the search terms
treesort
uses a binary tree to implement an insertion sort
uses a binary tree to implement an insertion sort
ch5
Ex5.1
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
Ex5.12
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
Ex5.4
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
Ex5.5
does an HTTP GET request for the HTML document url and returns the number of words and images in it
does an HTTP GET request for the HTML document url and returns the number of words and images in it
Ex5.6
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex5.7
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
Ex5.8
finds the first element with the specified id attribute
finds the first element with the specified id attribute
Ex5.9
replaces each substring "$foo" within s by the text returned by f("foo")
replaces each substring "$foo" within s by the text returned by f("foo")
findlinks1
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
findlinks2
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
links
Package links provides a link-extraction function
Package links provides a link-extraction function
outline
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
outline2
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
squares
returns a function that returns the next square number each time it is called
returns a function that returns the next square number each time it is called
toposort
topological sorting.
topological sorting.
ch6
intset
https://www.youtube.com/watch?v=SYoJ6gUXZvc
https://www.youtube.com/watch?v=SYoJ6gUXZvc
ch7
eval
Package eval is an evaluator for simple arithmetic expressions
Package eval is an evaluator for simple arithmetic expressions
xmlselect
Extract and print the text found beneath certain elements in an XML document tree.
Extract and print the text found beneath certain elements in an XML document tree.
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.
clock1
a TCP server that periodically writes the time
a TCP server that periodically writes the time
clock2
a TCP server that periodically writes the time
a TCP server that periodically writes the time
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
du2
du3
du4
netcat1
a read-only TCP client
a read-only TCP client
netcat2
a read-only TCP client
a read-only TCP client
thumbnail
The thumbnail package produces thumbnail-size images from larger images.
The thumbnail package produces thumbnail-size images from larger images.
ch9
bank1
Package bank provides a concurrency-safe bank with one account.
Package bank provides a concurrency-safe bank with one account.
memo1
Package memo provide a concurrency-unsafe memorization of a function of type Func.
Package memo provide a concurrency-unsafe memorization of a function of type Func.
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