Created
November 19, 2018 06:23
-
-
Save ykyuen/f43e999979d7f3d829aa637014daa01b to your computer and use it in GitHub Desktop.
setup-nested-html-template-in-go-echo-web-framework-08
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
golang-echo-template-example/ | |
├── handler/ # folder of request handlers | |
│ ├── home_handler.go # handler for home page | |
│ └── about_handler.go # handler for about page | |
├── vendor/ # dependencies managed by dep | |
│ ├── github.com/* | |
│ └── golang.org/* | |
├── view/ # folder of html templates | |
│ ├── base.html # base layout template | |
│ ├── home.html # home page template | |
│ └── about.html # about page template | |
├── Gopkg.lock # dep config file | |
├── Gopkg.toml # dep config file | |
└── main.go # programme entrypoint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment