In this series, we will to learn how to Create, Parsing, and Render all it files, so lets do it.
Create new project, prepare files, and folder with arrangement like with this picture.
Open file main.go, and then fill in the following code
Next, still in the function main, add the new both Route
- Open file index.html, and then write this code.
- File about.html
- File _header.html
- File _message.html
Finally! Grats, hope your enjoy it.