From 36426579e19aa6748484faeb9118e84826ee8531 Mon Sep 17 00:00:00 2001 From: Mathias Leppich Date: Mon, 25 Apr 2016 10:11:13 +0200 Subject: 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 --- content/error-handling-and-go.article | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3