Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
9
pkg/validator/fielderror.go
Normal file
9
pkg/validator/fielderror.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package validator
|
||||
|
||||
type FieldError struct {
|
||||
ErrorMsg string
|
||||
}
|
||||
|
||||
func (fe *FieldError) Error() string {
|
||||
return fe.ErrorMsg
|
||||
}
|
||||
Reference in New Issue
Block a user