mirror of
https://github.com/alvierahman90/gohookr.git
synced 2025-07-06 02:52:23 +00:00
13 lines
228 B
Go
13 lines
228 B
Go
package config
|
|
|
|
import "fmt"
|
|
|
|
type requiredFieldError struct {
|
|
fieldName string
|
|
serviceName string
|
|
}
|
|
|
|
func (e requiredFieldError) Error() string {
|
|
return fmt.Sprintf("%v cannot be empty (%v)", e.fieldName, e.serviceName)
|
|
}
|