Directories ¶
Path | Synopsis |
---|---|
src
|
|
ch01/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. |
ch01/dup2
Dup2 prints the text of each line that appears more than once in the input.
|
Dup2 prints the text of each line that appears more than once in the input. |
ch01/dup3
Dup3 prints the text count and text of lines that appear more than once in the named input files.
|
Dup3 prints the text count and text of lines that appear more than once in the named input files. |
ch01/dup4
Dup4 prints names of all files in which a duplicate line appears.
|
Dup4 prints names of all files in which a duplicate line appears. |
ch01/echo1
Echo1 prints its command-line arguments
|
Echo1 prints its command-line arguments |
ch01/echo2
Echo2 prints its command-line arguments leveraging 'range'
|
Echo2 prints its command-line arguments leveraging 'range' |
ch01/echo3
Echo3 prints its command-line arguments leveraging strings.Join
|
Echo3 prints its command-line arguments leveraging strings.Join |
ch01/echo4
Echo4 prints its command-line arguments including the name of the command itself
|
Echo4 prints its command-line arguments including the name of the command itself |
ch01/echo5
Echo5 prints its command-line arguments one per line prepended by the argument number
|
Echo5 prints its command-line arguments one per line prepended by the argument number |
ch01/echo6
Echo6 prints its command-line arguments leveraging 'range' with timings
|
Echo6 prints its command-line arguments leveraging 'range' with timings |
ch01/echo7
Echo7 prints its command-line arguments leveraging 'Join' and prints timings
|
Echo7 prints its command-line arguments leveraging 'Join' and prints timings |
ch01/fetch1
Fetch prints the content found at each specified URL
|
Fetch prints the content found at each specified URL |
ch01/fetch2
Fetch2 prints the content found at each specified URL using io.Copy to avoid the requirement of a buffer
|
Fetch2 prints the content found at each specified URL using io.Copy to avoid the requirement of a buffer |
ch01/fetch3
Fetch3 prints the content found at each specified URL using io.Copy to avoid the requirement of a buffer.
|
Fetch3 prints the content found at each specified URL using io.Copy to avoid the requirement of a buffer. |
ch01/fetch4
Fetch4 prints the content found at each specified URL using io.Copy to avoid the requirement of a buffer.
|
Fetch4 prints the content found at each specified URL using io.Copy to avoid the requirement of a buffer. |
ch01/fetchall1
Fethall fetches URLs in parallel and reports their times and sizes
|
Fethall fetches URLs in parallel and reports their times and sizes |
ch01/fetchall2
Fethall fetches URLs in parallel and reports their times and sizes
|
Fethall fetches URLs in parallel and reports their times and sizes |
ch01/lissajous1
Lissajous generates GIF animations of random Lissajous figures
|
Lissajous generates GIF animations of random Lissajous figures |
ch01/lissajous2
Lissajous2 generates GIF animations of random Lissajous figures with oscilliscope style colors instead of black on white
|
Lissajous2 generates GIF animations of random Lissajous figures with oscilliscope style colors instead of black on white |
ch01/lissajous3
Lissajous3 generates GIF animations of random Lissajous figures with interesting rainbow colors
|
Lissajous3 generates GIF animations of random Lissajous figures with interesting rainbow colors |
ch01/lissajous4
Lissajous4 generates GIF animations of random Lissajous figures with interesting rainbow colors.
|
Lissajous4 generates GIF animations of random Lissajous figures with interesting rainbow colors. |
ch01/lissajous5
Lissajous5 generates GIF animations of random Lissajous figures with interesting rainbow colors.
|
Lissajous5 generates GIF animations of random Lissajous figures with interesting rainbow colors. |
ch01/server1
Server1 is a minimal "echo" server
|
Server1 is a minimal "echo" server |
ch01/server2
Server2 is a minimal "echo" and counter server
|
Server2 is a minimal "echo" and counter server |
ch01/server3
Server3 is a minimal "echo" and counter server that returns the headers and form data it receives
|
Server3 is a minimal "echo" and counter server that returns the headers and form data it receives |
ch02/boiling
Boiling prints the boiling point of water
|
Boiling prints the boiling point of water |
ch02/cf
Cf converts its numeric argument to Celsius and Fahrenheit
|
Cf converts its numeric argument to Celsius and Fahrenheit |
ch02/cfk
Cfk converts its numeric argument to Celsius, Fahrenheit, and Kelvin
|
Cfk converts its numeric argument to Celsius, Fahrenheit, and Kelvin |
ch02/echo8
Echo8 [named Echo4 in the text] prints its command line arguments and supports two optional flags: '-n' omits the trailing new line and '-s sep' separates the argumentes with the contents of string 'sep' instead of a space
|
Echo8 [named Echo4 in the text] prints its command line arguments and supports two optional flags: '-n' omits the trailing new line and '-s sep' separates the argumentes with the contents of string 'sep' instead of a space |
ch02/ftoc
Ftoc prints two Fahrenheit-to-Celsius conversions
|
Ftoc prints two Fahrenheit-to-Celsius conversions |
ch02/genconv
Package genconv defines types, constants, and conversions of units
|
Package genconv defines types, constants, and conversions of units |
ch02/gounit
Gounit is a Go-based unit conversion tool that converts from one unit to another based upon command-line parameters or standard input
|
Gounit is a Go-based unit conversion tool that converts from one unit to another based upon command-line parameters or standard input |
ch02/popcountdemo
Demonstration of popcount
|
Demonstration of popcount |
ch02/popcountdemo1
Demonstration of popcount1
|
Demonstration of popcount1 |
ch02/popcountdemo2
Demonstration of popcount2
|
Demonstration of popcount2 |
ch02/popcountdemo3
Demonstration of popcount3
|
Demonstration of popcount3 |
ch02/tempconv
Package tempconv performs Celsius and Fahrenheit temperature computations
|
Package tempconv performs Celsius and Fahrenheit temperature computations |
ch02/tempconv1
Package tempconv1 performs Celsius, Fahrenheit, and Kelvin temperature computations
|
Package tempconv1 performs Celsius, Fahrenheit, and Kelvin temperature computations |
ch08/clock1
Demo single-threaded clock server Only supports one connection at a time
|
Demo single-threaded clock server Only supports one connection at a time |
ch08/clock2
Demo multi-threaded clock server
|
Demo multi-threaded clock server |
ch08/clock3
Demo multi-threaded clock server Supports a 'port' command-line flag to pass a port
|
Demo multi-threaded clock server Supports a 'port' command-line flag to pass a port |
ch08/netcat1
Netcat1 is a read-only TCP client
|
Netcat1 is a read-only TCP client |
extras/norespserver
Norespserver is a minimal server that does not respond to requests.
|
Norespserver is a minimal server that does not respond to requests. |
Click to show internal directories.
Click to hide internal directories.