Change controller types names

This commit is contained in:
Viktor Patchev
2022-01-10 21:22:40 +01:00
parent 1ee2bdb909
commit b3584bbc14
4 changed files with 11 additions and 11 deletions

View File

@@ -13,11 +13,11 @@ import (
const alphaNumBytes = random.Alphanumeric
// CreateUserRouter : Create user router struct
type CreateUserRouter struct{}
// CreateUserController : Create user controller struct
type CreateUserController struct{}
// CreateUser : Create user Router
func (CreateUserRouter) CreateUser(c echo.Context) error {
// CreateUser : Create user Controller
func (CreateUserController) CreateUser(c echo.Context) error {
type RequestBody struct {
PartnerID string `json:"partnerid"`
AccountType string `json:"accounttype"`