mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 06:43:23 +00:00
Migrate to Go modules
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
2e2250afe8
commit
7ce266adc0
2
gateway/vendor/github.com/gogo/protobuf/proto/text_parser.go
generated
vendored
2
gateway/vendor/github.com/gogo/protobuf/proto/text_parser.go
generated
vendored
@ -318,7 +318,7 @@ func unescape(s string) (ch string, tail string, err error) {
|
||||
if i > utf8.MaxRune {
|
||||
return "", "", fmt.Errorf(`\%c%s is not a valid Unicode code point`, r, ss)
|
||||
}
|
||||
return string(i), s, nil
|
||||
return string(rune(i)), s, nil
|
||||
}
|
||||
return "", "", fmt.Errorf(`unknown escape \%c`, r)
|
||||
}
|
||||
|
Reference in New Issue
Block a user