浏览代码

gofmt -w errors.go (#179)

Tariq Ibrahim 7 年之前
父节点
当前提交
ba968bfe8b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      errors.go

+ 1 - 1
errors.go

@@ -229,7 +229,7 @@ func WithMessagef(err error, format string, args ...interface{}) error {
 	}
 	return &withMessage{
 		cause: err,
-		msg: fmt.Sprintf(format, args...),
+		msg:   fmt.Sprintf(format, args...),
 	}
 }