init commit

This commit is contained in:
sentriz
2019-03-24 17:49:03 +00:00
commit e9c0f09d0c
527 changed files with 477627 additions and 0 deletions

13
handler/handler.go Normal file
View File

@@ -0,0 +1,13 @@
package handler
import (
"github.com/jinzhu/gorm"
"github.com/labstack/echo"
)
// Handler is passed to the handler functions so
// they can access the database
type Handler struct {
DB *gorm.DB
Router *echo.Echo
}