Exercises
- Download and install MongoDB on your Unix machine.
- Visit the documentation page of the
net/httpGo standard package at https://golang.org/pkg/net/http/. - Visit the documentation page of the
html/templateGo standard package at https://golang.org/pkg/html/template/. - Change the Go code of
getURL.goin order to make it able to fetch multiple web pages. - Read the documentation of the
encoding/jsonpackage that can be found at https://golang.org/pkg/encoding/json/. - Visit the MongoDB site at https://www.mongodb.org/.
- Learn how to use
text/templateby developing your own example. - Change the Go code of
findKeyword.goin order to be able to search multiple keywords.