fix a function comment
This commit is contained in:
@ -189,7 +189,7 @@ func Code(err error) codes.Code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Errorf returns an error containing an error code and a description;
|
// Errorf returns an error containing an error code and a description;
|
||||||
// CodeOf extracts the Code.
|
// Code extracts the Code.
|
||||||
// Errorf returns nil if c is OK.
|
// Errorf returns nil if c is OK.
|
||||||
func Errorf(c codes.Code, format string, a ...interface{}) error {
|
func Errorf(c codes.Code, format string, a ...interface{}) error {
|
||||||
if c == codes.OK {
|
if c == codes.OK {
|
||||||
|
Reference in New Issue
Block a user