chapter7/

directory
v0.0.0-...-ec09f47 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT

Directories

Path Synopsis
Change the handler for /list ot print its output as an HTML table, not text You may find the html/template package useful.
Change the handler for /list ot print its output as an HTML table, not text You may find the html/template package useful.
Using the token-based decoder API, write a promgram that will read an arbitrary XML document and construct a tree of generic nodes that represents it.
Using the token-based decoder API, write a promgram that will read an arbitrary XML document and construct a tree of generic nodes that represents it.
Write a function CountingWriter with the signature below that, given an io.Writer returns a new Writer that wraps the original, and a a pointer to an int64 variable that at any moment contains the number of bytes writen to the new Writer.
Write a function CountingWriter with the signature below that, given an io.Writer returns a new Writer that wraps the original, and a a pointer to an int64 variable that at any moment contains the number of bytes writen to the new Writer.
The LimitReader function in the io package accepts an io.Reader r and a number of bytes n, and returns another Reader that reads from r but reports and end-of-file condition after n bytes.
The LimitReader function in the io package accepts an io.Reader r and a number of bytes n, and returns another Reader that reads from r but reports and end-of-file condition after n bytes.
Use the html/template package to replace printTracks with a functions taht displays the tracks as an HTML table.
Use the html/template package to replace printTracks with a functions taht displays the tracks as an HTML table.

Jump to

Keyboard shortcuts

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