internal/config.go
Function LoadConfig
has 6 return statements (exceeds 4 allowed). Open
Open
func LoadConfig(path string) (*Settings, error) {
validate = validator.New()
if err := validate.RegisterValidation("notempty", validateEmptyString); err != nil {
return nil, err
}
- Create a ticketCreate a ticket