This is a simple Go server using the Gin framework. It serves two HTML files: home.html
and about.html
.
myapp/ ├── main.go ├── templates/ │ ├── home.html │ └── about.html
mkdir myapp
cd myapp
go mod init myapp
go get -u github.com/gin-gonic/gin
go mod tidy
go run main.go