fix: spelling

This commit is contained in:
Wyatt Johnson 2019-11-18 09:31:49 -07:00 committed by Cameron Moore
parent 6d3b81fc61
commit f8c8932866

View file

@ -100,8 +100,8 @@ func (e *ParseError) Error() string {
return e.Err.Error() return e.Err.Error()
} }
// ExtractCommaSeperatedValues will extract the values matching the key. // ExtractCommaSeparatedValues will extract the values matching the key.
func ExtractCommaSeperatedValues(source, prefix string) []string { func ExtractCommaSeparatedValues(source, prefix string) []string {
parts := strings.Split(source, ",") parts := strings.Split(source, ",")
values := make([]string, 0) values := make([]string, 0)
for _, part := range parts { for _, part := range parts {
@ -117,7 +117,7 @@ func ExtractSignatures(signature, prefix string) []string {
// If there are multiple possible matches, let the comma seperated extractor // If there are multiple possible matches, let the comma seperated extractor
// do it's work. // do it's work.
if strings.Contains(signature, ",") { if strings.Contains(signature, ",") {
return ExtractCommaSeperatedValues(signature, prefix) return ExtractCommaSeparatedValues(signature, prefix)
} }
// There were no commas, so just trim the prefix (if it even exists) and // There were no commas, so just trim the prefix (if it even exists) and