fix a function comment

This commit is contained in:
iamqizhao
2015-03-04 18:16:53 -08:00
parent 7bd92dc8cb
commit 10f29ffc09

View File

@ -189,7 +189,7 @@ func Code(err error) codes.Code {
}
// 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.
func Errorf(c codes.Code, format string, a ...interface{}) error {
if c == codes.OK {