January 2020
Intermediate to advanced
640 pages
16h 56m
English
Of course, our little project can't really be complete without a proper frontend for our users! To build one, we will leverage the Go standard library's support for HTML templates (the text/template and html/template packages) to design a fully functioning static website for Links 'R' Us. For simplicity, all the HTML templates will be embedded into our application as strings and parsed into text.Template when the application starts. In terms of functionality, our frontend must implement a number of features.
First, it must implement an index/landing page where the user can enter a search query. Queries can either be keyword- or phrase-based. The index page should also include a link that can navigate ...