Discover Packages
github.com/tempor1s/echo-boiler
handlers
package
Version:
v0.0.0-...-354a964
Opens a new window with list of versions in this module.
Published: Sep 14, 2020
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
handlers
Put all handlers/routes here. To keep everything consise, I would name files in relation to their domain. For example, if you wanted to implement CRUD for a user, you would put all 4 crud operations in a file called user.go
Expand ▾
Collapse ▴
Documentation
¶
Handler is used so that we can dependency inject different services into the database
New will create a new handler with the given databse and other dependencies that your routes may need
Source Files
¶
Click to show internal directories.
Click to hide internal directories.