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 command
Prints command-line arguments
Prints command-line arguments
Ex1.10 command
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 command
Fetches URLs in parallel and reports elapsed time and size
Fetches URLs in parallel and reports elapsed time and size
Ex1.11 command
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 command
Ex1.12.0 command
A minimal "echo" server; prints incoming url path
A minimal "echo" server; prints incoming url path
Ex1.12.1 command
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 command
A minimal "echo" server; prints headers, form data
A minimal "echo" server; prints headers, form data
Ex1.2 command
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 command
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 command
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 command
Generates random animations of random Lissajous figures
Generates random animations of random Lissajous figures
Ex1.6 command
Generates random animations of random Lissajous figures
Generates random animations of random Lissajous figures
Ex1.7 command
Prints the content found at a URL
Prints the content found at a URL
Ex1.7.0 command
Prints the content found at a URL
Prints the content found at a URL
Ex1.8 command
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 command
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
cross command
jpeg command
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 command
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
ch11
echo command
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
display command
ch2
Ex2.0 command
Prints comamnd-line arguments
Prints comamnd-line arguments
Ex2.1 command
Ex2.2 command
Ex2.3 command
Ex2.3.0 command
Ex2.4 command
Ex2.5 command
tempconv
Package tempconv performs Celsius and Fahrenheit conversions
Package tempconv performs Celsius and Fahrenheit conversions
ch3
Ex3.1 command
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.1.0 command
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.10 command
Ex3.11 command
Ex3.12 command
Ex3.13 command
Ex3.3 command
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.4 command
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex3.5 command
emits a PNG image of the Mandelbrot fractal
emits a PNG image of the Mandelbrot fractal
Ex3.5.0 command
emits a PNG image of the Mandelbrot fractal
emits a PNG image of the Mandelbrot fractal
bitwise command
netflag command
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 command
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 command
Issues prints a table of Github issues matching the search terms
Issues prints a table of Github issues matching the search terms
Ex4.2 command
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.3 command
Ex4.4 command
Ex4.5 command
Ex4.6 command
Ex4.7 command
Ex4.8 command
computes counts of Unicode characters
computes counts of Unicode characters
Ex4.9 command
reports the frequency of each word in an input text file
reports the frequency of each word in an input text file
append command
autoescape command
charcount command
computes counts of Unicode characters
computes counts of Unicode characters
dedup command
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 command
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 command
Issues prints a table of Github issues matching the search terms
Issues prints a table of Github issues matching the search terms
issueshtml command
nonempty command
remove command
reverse-rotate command
treesort command
uses a binary tree to implement an insertion sort
uses a binary tree to implement an insertion sort
ch5
Ex5.1 command
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
Ex5.12 command
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
Ex5.15 command
Ex5.16 command
Ex5.17 command
Ex5.18 command
Ex5.19 command
Ex5.2 command
Ex5.3 command
Ex5.4 command
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
Ex5.5 command
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 command
Computes an SVG rendering of a 3-D surface function
Computes an SVG rendering of a 3-D surface function
Ex5.7 command
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
Ex5.8 command
finds the first element with the specified id attribute
finds the first element with the specified id attribute
Ex5.9 command
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")
defer1 command
defer2 command
fetch command
findlinks1 command
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
findlinks2 command
prints the links in an HTML document read from standard input
prints the links in an HTML document read from standard input
findlinks3 command
links
Package links provides a link-extraction function
Package links provides a link-extraction function
outline command
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
outline2 command
prints the structure of the HTML tree in outline
prints the structure of the HTML tree in outline
squares command
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
title1 command
title2 command
title3 command
toposort command
topological sorting.
topological sorting.
trace command
wait command
ch6
geometry command
intset command
https://www.youtube.com/watch?v=SYoJ6gUXZvc
https://www.youtube.com/watch?v=SYoJ6gUXZvc
urlvalues command
ch7
Ex7.1 command
bytecounter command
eval
Package eval is an evaluator for simple arithmetic expressions
Package eval is an evaluator for simple arithmetic expressions
http1 command
http2 command
http3 command
sleep command
sorting command
surface command
tempflag command
xmlselect command
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.
chat command
clock1 command
a TCP server that periodically writes the time
a TCP server that periodically writes the time
clock2 command
a TCP server that periodically writes the time
a TCP server that periodically writes the time
countdown1 command
countdown2 command
countdown3 command
crawl1 command
crawl2 command
crawl3 command
du1 command
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 command
du3 command
du4 command
netcat1 command
a read-only TCP client
a read-only TCP client
netcat2 command
a read-only TCP client
a read-only TCP client
netcat3 command
pipeline1 command
pipeline2 command
pipeline3 command
reverb1 command
reverb2 command
spinner command
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.
maxprocs command
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