From ef06c13eb8a7808ad666ecbad0f9bb5abe81fc92 Mon Sep 17 00:00:00 2001 From: Vera Harless <53271741+morningvera@users.noreply.github.com> Date: Wed, 9 Mar 2022 15:21:30 -0500 Subject: [PATCH] chore: remove broken links --- examples_test.go | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/examples_test.go b/examples_test.go index 8637e1d..2ad874f 100644 --- a/examples_test.go +++ b/examples_test.go @@ -15,7 +15,7 @@ var ( ) // Demonstrates JSON formatting of wrapped errors that originate from external (non-eris) error -// types. You can try this example in the Go playground (https://play.golang.org/p/29yCByzK8wT). +// types. func ExampleToJSON_external() { // example func that returns an IO error readFile := func(fname string) error { @@ -42,8 +42,7 @@ func TestExampleToJSON_external(t *testing.T) { ExampleToJSON_external() } -// Demonstrates JSON formatting of wrapped errors that originate from global root errors. You can -// try this example in the Go playground (https://play.golang.org/p/jkZHLfHsYHV). +// Demonstrates JSON formatting of wrapped errors that originate from global root errors. func ExampleToJSON_global() { // example func that wraps a global error value readFile := func(fname string) error { @@ -92,8 +91,7 @@ func TestExampleToJSON_global(t *testing.T) { } // Demonstrates JSON formatting of wrapped errors that originate from local root errors (created at -// the source of the error via eris.New). You can try this example in the Go playground -// (https://play.golang.org/p/66nsuoOgQWu). +// the source of the error via eris.New). func ExampleToJSON_local() { // example func that returns an eris error readFile := func(fname string) error { @@ -170,7 +168,7 @@ func TestExampleToJSON_local(t *testing.T) { } // Demonstrates string formatting of wrapped errors that originate from external (non-eris) error -// types. You can try this example in the Go playground (https://play.golang.org/p/OKbU3gzIZvZ). +// types. func ExampleToString_external() { // example func that returns an IO error readFile := func(fname string) error { @@ -192,8 +190,7 @@ func TestExampleToString_external(t *testing.T) { ExampleToString_external() } -// Demonstrates string formatting of wrapped errors that originate from global root errors. You can -// try this example in the Go playground (https://play.golang.org/p/8YgyDwk9xBJ). +// Demonstrates string formatting of wrapped errors that originate from global root errors. func ExampleToString_global() { // example func that wraps a global error value readFile := func(fname string) error { @@ -251,8 +248,7 @@ func TestExampleToString_global(t *testing.T) { } // Demonstrates string formatting of wrapped errors that originate from local root errors (created -// at the source of the error via eris.New). You can try this example in the Go playground -// (https://play.golang.org/p/d49gTNx3OtA). +// at the source of the error via eris.New). func ExampleToString_local() { // example func that returns an eris error readFile := func(fname string) error {