go-samples

module
v0.0.0-...-e6e707d Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: MIT

README

go-samples

Directories

Path Synopsis
ch01
dup01
输出标准输入中出现次数大于1的行,前面是次数
输出标准输入中出现次数大于1的行,前面是次数
dup02
打印输入中多次出现的行的个数和文本 从 stdin 或指定的文件列表读取
打印输入中多次出现的行的个数和文本 从 stdin 或指定的文件列表读取
dup03
打印输入中多次出现的行的个数和文本 从 stdin 或指定的文件列表读取
打印输入中多次出现的行的个数和文本 从 stdin 或指定的文件列表读取
lissajous
Lissajous 产生随机利萨茹图形的GIT动画
Lissajous 产生随机利萨茹图形的GIT动画
server01
迷你回声服务器
迷你回声服务器
server02
迷你回声器和计数器服务
迷你回声器和计数器服务
server03
Server3 is an "echo" server that displays request parameters.
Server3 is an "echo" server that displays request parameters.
ch02
cf
cf 把它的数值参数转换为摄氏温度和华氏温度
cf 把它的数值参数转换为摄氏温度和华氏温度
echo04
输出命令行参数
输出命令行参数
tempconv
tempconv 包负责摄氏温度与华氏温度的转换
tempconv 包负责摄氏温度与华氏温度的转换
ch03
basename01
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.
basename02
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.
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.
mandelbrot
Mandelbrot emits a PNG image of the Mandelbrot fractal.
Mandelbrot emits a PNG image of the Mandelbrot fractal.
surface
Surface 函数根据一个三位曲面函数计算并生成 SVG
Surface 函数根据一个三位曲面函数计算并生成 SVG
ch04
charcount
Charcount 计算 Uniceode 字符的数量
Charcount 计算 Uniceode 字符的数量
github
Package github provides a Go API for the GitHub issue tracker.
Package github provides a Go API for the GitHub issue tracker.
issues
Issues prints a table of GitHub issues matching the search terms.
Issues prints a table of GitHub issues matching the search terms.
movie
Movie prints Movies as JSON.
Movie prints Movies as JSON.
rev
反转一个整型 slice 中的元素
反转一个整型 slice 中的元素
treesort
利用二叉树实现插入排序
利用二叉树实现插入排序
ch05
links
Package links provides a link-extraction function.
Package links provides a link-extraction function.
squares
squares 函数返回一个函数,后者包含下一次要用到的平方数
squares 函数返回一个函数,后者包含下一次要用到的平方数
ch06
ch07
nil
xmlselect
Xmlselect prints the text of selected elements of an XML document.
Xmlselect prints the text of selected elements of an XML document.
ch08
crawl1
Crawl1 crawls web links starting with the command-line arguments.
Crawl1 crawls web links starting with the command-line arguments.
crawl2
Crawl2 crawls web links starting with the command-line arguments.
Crawl2 crawls web links starting with the command-line arguments.
thumbnail
The thumbnail package produces thumbnail-size images from larger images.
The thumbnail package produces thumbnail-size images from larger images.
ch11

Jump to

Keyboard shortcuts

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