Incorrectly formatted error string SCC-ST1005
Style
Minor
2 years ago2 years old
error strings should not be capitalized
63				return errors.New("Match search pattern is not sure")
64			}
65			if code == "" {
66				return errors.New("Match value can not be empty can be md5 or hexadecimal string")67			}
68			if res, err := scanner.Search(code); err != nil {
69				return err
error strings should not be capitalized
60			case "hex":
61				scanner.SetMatcher(new(scan.HexMatcher))
62			default:
63				return errors.New("Match search pattern is not sure")64			}
65			if code == "" {
66				return errors.New("Match value can not be empty can be md5 or hexadecimal string")