Exercises
- Put the plotting functionality of
plotIP.gointo a Go package and use that package to rewrite bothplotIP.goandplotData.go. - Review the Go code of
ddGo.gofrom Chapter 6,File Input and Output, in order to print information about its progress when receiving aSIGINFOsignal. - Change the Go code of
cat.goto add support for multiple input files. - Change the code of
plotData.goin order to print gridlines to the generated image. - Change the code of
plotData.goin order to leave a little space between the bars of the plot. - Try to make the
UNIXshell.goprogram a little better by adding new features to it.