gopl-exercise

module
v0.0.0-...-1884544 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: MIT

README

gopl-exercise

Solutions to exercises presented in Donovan & Kernighan's book, The Go Programming Language.

Directories

Path Synopsis
ch1
dup1 command
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.
dup2 command
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.
dup3 command
echo1 command
Echo1 prints its command-line arguments.
Echo1 prints its command-line arguments.
echo2 command
Echo2 prints its command-line arguments.
Echo2 prints its command-line arguments.
echo3 command
Echo3 prints its command-line arguments.
Echo3 prints its command-line arguments.
ex1-1 command
ex1-10 command
Fetchall fetches URLs in parallel and reports their times and sizes.
Fetchall fetches URLs in parallel and reports their times and sizes.
ex1-12 command
ex1-2 command
Echo2 prints its command-line arguments.
Echo2 prints its command-line arguments.
ex1-4-unfinished command
Dup takes a list of filenames and reports the number of times a line of text occurs if it happens to occur more than once.
Dup takes a list of filenames and reports the number of times a line of text occurs if it happens to occur more than once.
ex1-5 command
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
ex1-6 command
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
ex1-7 command
Fetch prints the content found at a URL
Fetch prints the content found at a URL
ex1-8 command
Fetch prints the content found at a URL
Fetch prints the content found at a URL
ex1-9 command
Fetch prints the content found at a URL
Fetch prints the content found at a URL
fetch command
Fetch prints the content found at a URL
Fetch prints the content found at a URL
fetchall command
Fetchall fetches URLs in parallel and reports their times and sizes.
Fetchall fetches URLs in parallel and reports their times and sizes.
hello command
helloworld command
http command
lissajous command
Lissajous generates GIF animations of random Lissajous figures.
Lissajous generates GIF animations of random Lissajous figures.
server-lissajous command
Server2 is a minimal "echo" and counter server.
Server2 is a minimal "echo" and counter server.
server1 command
Server1 is a minimal "echo" server.
Server1 is a minimal "echo" server.
server2 command
Server2 is a minimal "echo" and counter server.
Server2 is a minimal "echo" and counter server.

Jump to

Keyboard shortcuts

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