mirror of
https://github.com/alvierahman90/gohookr.git
synced 2024-12-22 01:31:59 +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)
|
|
}
|