Exercises
- Download and install MongoDB on your Unix machine.
- Visit the documentation page of the
net/http
Go standard package at https://golang.org/pkg/net/http/. - Visit the documentation page of the
html/template
Go standard package at https://golang.org/pkg/html/template/. - Change the Go code of
getURL.go
in order to make it able to fetch multiple web pages. - Read the documentation of the
encoding/json
package 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/template
by developing your own example. - Change the Go code of
findKeyword.go
in order to be able to search multiple keywords.