Directories ¶
Path | Synopsis |
---|---|
Ch07ex01 implements writers that count words and lines.
|
Ch07ex01 implements writers that count words and lines. |
Ch07ex02 implements a function that returns a writer wrapping another writer and an int64 representing the number of bytes written to the writer at any time.
|
Ch07ex02 implements a function that returns a writer wrapping another writer and an int64 representing the number of bytes written to the writer at any time. |
ch07ex03
|
|
treesort
Package treesort provides insertion sort using an unbalanced binary tree.
|
Package treesort provides insertion sort using an unbalanced binary tree. |
Ch07ex04 implements NewReader and a simple string reader to use with the HTML parser from exercise 5.2.
|
Ch07ex04 implements NewReader and a simple string reader to use with the HTML parser from exercise 5.2. |
Ch07ex05 implements a LimitReader.
|
Ch07ex05 implements a LimitReader. |
Ch07ex06 prints the value of its -temp (temperature) flag, which can be in Celsius, Fahrenheit or Kelvin.
|
Ch07ex06 prints the value of its -temp (temperature) flag, which can be in Celsius, Fahrenheit or Kelvin. |
tempconv
Package tempconv performs Celsius, Fahrenheit, and Kelvin temperature computations.
|
Package tempconv performs Celsius, Fahrenheit, and Kelvin temperature computations. |
Ch07ex08 tests the statefulsort implementation for music tracks.
|
Ch07ex08 tests the statefulsort implementation for music tracks. |
statefulsort
Package statefulsort provides a sort interface to sort elements with a mutable order in which element fields are taken into account for sorting.
|
Package statefulsort provides a sort interface to sort elements with a mutable order in which element fields are taken into account for sorting. |
track
Package track provides Track, an implementation of the statefulsort interface that represents a music track on an album.
|
Package track provides Track, an implementation of the statefulsort interface that represents a music track on an album. |
Ch07ex09 implements a web server with a sortable table that keeps track of state.
|
Ch07ex09 implements a web server with a sortable table that keeps track of state. |
track
Package track provides Track, an implementation of the statefulsort interface that represents a music track on an album.
|
Package track provides Track, an implementation of the statefulsort interface that represents a music track on an album. |
Ch07ex10 implements a palindrome checker taking advantage of sort.Interface.
|
Ch07ex10 implements a palindrome checker taking advantage of sort.Interface. |
Ch07ex11 adds CRUD functionality to a simple e-commerce server.
|
Ch07ex11 adds CRUD functionality to a simple e-commerce server. |
Ch07ex12 has the list endpoint rewritten to use html/template.
|
Ch07ex12 has the list endpoint rewritten to use html/template. |
Ch07ex13 tests an implementation of the Expr interface with an additional pretty printer method Print().
|
Ch07ex13 tests an implementation of the Expr interface with an additional pretty printer method Print(). |
eval
Package eval provides an expression evaluator.
|
Package eval provides an expression evaluator. |
Ch07ex14 implements a new type min that implements the Expr interface.
|
Ch07ex14 implements a new type min that implements the Expr interface. |
eval
Package eval provides an expression evaluator.
|
Package eval provides an expression evaluator. |
Ch07ex15 reads one expression from standard input, prompts for variable values and evaluates the expression in the resulting environment.
|
Ch07ex15 reads one expression from standard input, prompts for variable values and evaluates the expression in the resulting environment. |
Ch07ex16 implements an expression evaluator as a web service.
|
Ch07ex16 implements an expression evaluator as a web service. |
Ch07ex17 extends xmlselect to select elements not just by name, but by their attributes, too.
|
Ch07ex17 extends xmlselect to select elements not just by name, but by their attributes, too. |
Ch07ex18 reads an arbirtrary XML document and constructs a tree of generic nodes that represent it.
|
Ch07ex18 reads an arbirtrary XML document and constructs a tree of generic nodes that represent it. |
Click to show internal directories.
Click to hide internal directories.