1. 20 May, 2019 7 commits
  2. 17 May, 2019 12 commits
  3. 16 May, 2019 20 commits
  4. 15 May, 2019 1 commit
    • Damien Neil's avatar
      fmt: support %w · 14491a2e
      Damien Neil authored
      When fmt.Errorf is provided with a %w verb with an error operand,
      return an error implementing an Unwrap method returning that operand.
      
      It is invalid to use %w with other formatting functions, to use %w
      multiple times in a format string, or to use %w with a non-error
      operand. When the Errorf format string contains an invalid use of %w,
      the returned error does not implement Unwrap.
      
      Change-Id: I534e20d3b163ab22c2b137b1c9095906dc243221
      Reviewed-on: https://go-review.googlesource.com/c/go/+/176998Reviewed-by: default avatarMarcel van Lohuizen <mpvl@golang.org>
      14491a2e