register controller

This commit is contained in:
Fran Jurmanović
2021-05-08 18:26:02 +02:00
parent 20894ee42e
commit 316c39b2dd
12 changed files with 193 additions and 3 deletions

7
pkg/models/exception.go Normal file
View File

@@ -0,0 +1,7 @@
package models
type ExceptionModel struct {
ErrorCode string `json:"errorCode"`
Message string `json:"message"`
StatusCode int `json:"statusCode"`
}