aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Leppich <mleppich@muhqu.de>2016-04-25 10:11:13 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2016-04-25 16:19:15 +0000
commit36426579e19aa6748484faeb9118e84826ee8531 (patch)
treefed2e2a3b9aff50370bfd1f78c42cfccf42f7ff4
parent831cc3b33e6c93f9b6c70df079fb2d85c8f8f5cf (diff)
content: fix broken link in blog.golang.org/error-handling-and-go
In the section about `json.SyntaxError` the link to the source of `jsonconfig/eval.go` of the camlistore project was not correct anymore. This change updates it to the github source view. Change-Id: I097a423c3325acb1e6d229774757b22367e444a0 Reviewed-on: https://go-review.googlesource.com/22414 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--content/error-handling-and-go.article2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/error-handling-and-go.article b/content/error-handling-and-go.article
index 266458f..efa6c46 100644
--- a/content/error-handling-and-go.article
+++ b/content/error-handling-and-go.article
@@ -105,7 +105,7 @@ The `Offset` field isn't even shown in the default formatting of the error, but
return err
}
-(This is a slightly simplified version of some [[http://camlistore.org/code/?p=camlistore.git;a=blob;f=lib/go/camli/jsonconfig/eval.go#l68][actual code]] from the [[http://camlistore.org][Camlistore]] project.)
+(This is a slightly simplified version of some [[https://github.com/camlistore/go4/blob/03efcb870d84809319ea509714dd6d19a1498483/jsonconfig/eval.go#L123-L135][actual code]] from the [[http://camlistore.org][Camlistore]] project.)
The `error` interface requires only a `Error` method; specific error implementations might have additional methods. For instance, the [[http://golang.org/pkg/net/][net]] package returns errors of type `error`, following the usual convention, but some of the error implementations have additional methods defined by the `net.Error` interface: