Created
April 18, 2019 09:38
-
-
Save ykyuen/fce6f61b4b8ffbbba45dd450660c42c7 to your computer and use it in GitHub Desktop.
handling-http-request-in-go-echo-framework-2-05
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
handling-http-request-in-go-echo-example-2/ | |
├── api/ # folder of api endpoints | |
│ ├── get_full_name.go # api for get full name | |
│ ├── post_full_name.go # api for post full name | |
├── handler/ # folder of request handlers | |
│ ├── home_handler.go # handler for home page | |
│ └── about_handler.go # handler for about page | |
├── model/ # folder of custom struct types | |
│ ├── example_request.go # struct type of get_full_name request | |
│ └── example_response.go # hstruct type of get_full_name response | |
├── 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