Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: developgo/errors
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: pkg/errors
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 9 files changed
  • 6 contributors

Commits on Feb 17, 2019

  1. Add json.Marshaler support to the Frame type. (pkg#197)

    * Add json.Marshaler support to the Frame type.
    
    * Update regex for Go tip
    
    * Escape periods in regular expression tests
    
    * Implement encoding.TextMarshaler instead of json.Marshaler
    flimzy authored and davecheney committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    856c240 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2019

  1. travis.yml: add Go 1.12 (pkg#200)

    Also deprecate Go 1.9
    
    Signed-off-by: Dave Cheney <dave@cheney.net>
    davecheney authored Feb 27, 2019
    Configuration menu
    Copy the full SHA
    27936f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2019

  1. Configuration menu
    Copy the full SHA
    ca0248e View commit details
    Browse the repository at this point in the history
  2. travis.yml: add Go 1.13

    aperezg committed Nov 9, 2019
    Configuration menu
    Copy the full SHA
    91f1693 View commit details
    Browse the repository at this point in the history
  3. Add support for Go 1.13 error chains (pkg#206)

    * Add support for Go 1.13 error chains
    
    Go 1.13 adds support for error chains to the standard libary's errors
    package. The new standard library functions require an Unwrap method to
    be provided by an error type. This change adds a new Unwrap method
    (identical to the existing Cause method) to the unexported error types.
    jayschwa authored and aperezg committed Nov 9, 2019
    Configuration menu
    Copy the full SHA
    7f95ac1 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2020

  1. feat: support std errors functions (pkg#213)

    * feat: support std errors functions
    
    add function `Is`, `As` and `Unwrap`, like std errors, so that we can
    continue to use pkg/errors with go1.13 compatibility
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * style: delete useless comments
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * build: update makefile
    
    update makefile to download dependencies before test anything
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * build: fix makefile
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * chore: delete useless comments
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * Restore Makefile
    
    * revert: revert some change
    
    some change are doing by PR pkg#206 and pkg#212 , so I don't need to do it
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * test: add more check for As unit test
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * revert: only support Is As Unwrap for >=go1.13
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * feat(Unwrap): allow <go1.13 can use Unwrap
    
    `Unwrap` just use type assert, it doesn't need go1.13 actually
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * test: add go1.13 errors compatibility check
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    
    * refactor(Unwrap): don't allow <go1.13 use Unwrap
    
    If we implement Unwrap ourselves, may create a risk of incompatibility
    if Go 1.14 subtly changes its `Unwrap` implementation.
    <go1.13 users doesn't have `Is` or `As`, if they want, they will use
    xerrors and it also provides `Unwrap`
    
    Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
    Sherlock-Holo authored and aperezg committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    6d954f5 View commit details
    Browse the repository at this point in the history
  2. remove unnecessary use of fmt.Sprintf (pkg#217)

    * remove unnecessary use of fmt.Sprintf
    aperezg authored Jan 3, 2020
    Configuration menu
    Copy the full SHA
    004deef View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2020

  1. Configuration menu
    Copy the full SHA
    49f8f61 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

  1. Configuration menu
    Copy the full SHA
    614d223 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2020

  1. AddingPowerSupport_CI/Testing (pkg#234)

    * Update .travis.yml
    
    Adding Power & Updating the go versions to 1.13/1.14/1.15 as lower versions are not supported.
    
    * Update .travis.yml
    
    Removing go 1.13 as desired in the comment section,
    
    * Update .travis.yml
    
    As desired taking out the power(ppc64le) related support.,
    santosh653 authored Dec 14, 2020
    Configuration menu
    Copy the full SHA
    5dd12d0 View commit details
    Browse the repository at this point in the history
Loading