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